Package avail.interpreter.primitive.floats

Types

Link copied to clipboard
object P_AsFloat : Primitive

Primitive: Convert the numeric argument to a float.

Link copied to clipboard
object P_FloatCeiling : Primitive

Primitive: Answer the smallest integral float greater than or equal to the given float. If the float is ±INF or NaN then answer the argument.

Link copied to clipboard
object P_FloatExp : Primitive

Primitive: Compute e^a, the natural exponential of the floata.

Link copied to clipboard
object P_FloatFloor : Primitive

Primitive: Answer the largest integral float less than or equal to the given float. If the float is ±INF or NaN then answer the argument.

Link copied to clipboard
object P_FloatFromIntBits : Primitive

Primitive: Given a 32-bit signed integer, treat the bit pattern as a single-precision IEEE-754 representation, and answer that float value.

Link copied to clipboard
object P_FloatLn : Primitive

Primitive: Compute the natural logarithm of floata.

Link copied to clipboard
object P_FloatModulus : Primitive

Primitive: Divide floata by float b, but answer the remainder.

Link copied to clipboard
object P_FloatTimesTwoPower : Primitive

Primitive: Compute floata*(2**b) without intermediate overflow or any precision loss.

Link copied to clipboard
object P_FloatToIntBits : Primitive

Primitive: Given a float in single-precision IEEE-754 representation, treat the bit pattern as a 32-bit (signed) Int and answer the corresponding Avail integer.

Link copied to clipboard
object P_FloatTruncatedAsInteger : Primitive

Primitive: Convert a float to an integer, rounding towards zero.