Package avail.interpreter.primitive.doubles

Types

Link copied to clipboard
object P_AsDouble : Primitive

Primitive: Convert the numeric argument to a double.

Link copied to clipboard
object P_ConstructDoubleFromParts : Primitive

Primitive: Construct a non-negative double from parts supplied as literal tokens.

Link copied to clipboard
object P_DoubleCeiling : Primitive

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

Link copied to clipboard
object P_DoubleExp : Primitive

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

Link copied to clipboard
object P_DoubleFloor : Primitive

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

Link copied to clipboard
object P_DoubleFromLongBits : Primitive

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

Link copied to clipboard
object P_DoubleFromParts : Primitive

Primitive: Construct a non-negative double from parts supplied primarily as strings of digits.

Link copied to clipboard
object P_DoubleLn : Primitive

Primitive: Compute the natural logarithm of the doublea.

Link copied to clipboard
object P_DoubleModulus : Primitive

Primitive: Divide doublea by double b, but answer the remainder.

Link copied to clipboard
object P_DoubleTimesTwoPower : Primitive

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

Link copied to clipboard
object P_DoubleToLongBits : Primitive

Primitive: Given a double-precision IEEE-754 representation, treat the bit pattern as a 64-bit (signed) long and answer the corresponding Avail integer.

Link copied to clipboard
object P_DoubleTruncatedAsInteger : Primitive

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