Sign

enum Sign : Enum<AbstractNumberDescriptor.Sign>

An enumeration used to describe the sign of a quantity.

Entries

Link copied to clipboard
INDETERMINATE(Double.NaN)

The value is an indeterminate value (not-a-number).

Link copied to clipboard
ZERO(0.0)

The value is zero.

Link copied to clipboard
NEGATIVE(Double.NEGATIVE_INFINITY)

The value is negative.

Link copied to clipboard
POSITIVE(Double.POSITIVE_INFINITY)

The value is positive.

Functions

Link copied to clipboard
fun limitDouble(): Double

Answer the most extreme double with this sign. In particular, answer ±infinity, NaN, or zero.

Link copied to clipboard
fun limitDoubleObject(): A_Number

Answer the Avail double-precision value that typifies this value.

Link copied to clipboard
fun limitFloat(): Float

Answer the most extreme float with this sign. In particular, answer ±infinity, NaN, or zero.

Link copied to clipboard
fun limitFloatObject(): A_Number

Answer the Avail single-precision value that typifies this value.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int