float

@extern
object float

Bindings for float.h

class Object
trait Matchable
class Any
float.type

Value members

Inherited methods

@name("scalanative_float_dbl_dig")
def DBL_DIG: CInt

Number of significant digits in a floating point number.

Number of significant digits in a floating point number.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_epsilon")
def DBL_EPSILON: CDouble

The smallest x for which 1.0 + x != 1.0.

The smallest x for which 1.0 + x != 1.0.

Inherited from:
float (hidden)
@name("scalanative_float_flt_mant_dig")
def DBL_MANT_DIG: CInt

Number of FLT_RADIX digits in the mantissa.

Number of FLT_RADIX digits in the mantissa.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_max")
def DBL_MAX: CDouble

Maximum finite floating-point value.

Maximum finite floating-point value.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_min_10_exp")
def DBL_MAX_10_EXP: CInt

The maximal exponent of a floating point value expressed in base 10.

The maximal exponent of a floating point value expressed in base 10.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_min_exp")
def DBL_MAX_EXP: CInt

The maximal exponent of a floating point value expressed in base FLT_RADIX.

The maximal exponent of a floating point value expressed in base FLT_RADIX.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_min")
def DBL_MIN: CDouble

Minimal floating point value.

Minimal floating point value.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_min_10_exp")
def DBL_MIN_10_EXP: CInt

The minimal exponent of a floating point value expressed in base 10.

The minimal exponent of a floating point value expressed in base 10.

Inherited from:
float (hidden)
@name("scalanative_float_dbl_min_exp")
def DBL_MIN_EXP: CInt

The minimal exponent of a floating point value expressed in base FLT_RADIX.

The minimal exponent of a floating point value expressed in base FLT_RADIX.

Inherited from:
float (hidden)
@name("scalanative_float_flt_dig")
def FLT_DIG: CInt

Number of significant digits in a floating point number.

Number of significant digits in a floating point number.

Inherited from:
float (hidden)
@name("scalanative_float_flt_epsilon")
def FLT_EPSILON: CFloat

The smallest x for which 1.0 + x != 1.0.

The smallest x for which 1.0 + x != 1.0.

Inherited from:
float (hidden)
@name("scalanative_float_flt_mant_dig")
def FLT_MANT_DIG: CInt

Number of FLT_RADIX digits in the mantissa.

Number of FLT_RADIX digits in the mantissa.

Inherited from:
float (hidden)
@name("scalanative_float_flt_max")
def FLT_MAX: CFloat

Maximum finite floating-point value.

Maximum finite floating-point value.

Inherited from:
float (hidden)
@name("scalanative_float_flt_min_10_exp")
def FLT_MAX_10_EXP: CInt

The maximal exponent of a floating point value expressed in base 10.

The maximal exponent of a floating point value expressed in base 10.

Inherited from:
float (hidden)
@name("scalanative_float_flt_min_exp")
def FLT_MAX_EXP: CInt

The maximal exponent of a floating point value expressed in base FLT_RADIX.

The maximal exponent of a floating point value expressed in base FLT_RADIX.

Inherited from:
float (hidden)
@name("scalanative_float_flt_min")
def FLT_MIN: CFloat

Minimal floating point value.

Minimal floating point value.

Inherited from:
float (hidden)
@name("scalanative_float_flt_min_10_exp")
def FLT_MIN_10_EXP: CInt

The minimal exponent of a floating point value expressed in base 10.

The minimal exponent of a floating point value expressed in base 10.

Inherited from:
float (hidden)
@name("scalanative_float_flt_min_exp")
def FLT_MIN_EXP: CInt

The minimal exponent of a floating point value expressed in base FLT_RADIX.

The minimal exponent of a floating point value expressed in base FLT_RADIX.

Inherited from:
float (hidden)
@name("scalanative_float_flt_radix")
def FLT_RADIX: CInt

The base radix representation of the exponent.

The base radix representation of the exponent.

A base-2 is binary, base-10 is the normal decimal representation base-16 is Hex.

Inherited from:
float (hidden)
@name("scalanative_float_flt_rounds")
def FLT_ROUNDS: CInt

Rounding mode for floating point addition.

Rounding mode for floating point addition.

-1 indeterminable 0 towards zero 1 to nearest 2 towards positive infinity 3 towards negative infinity

Inherited from:
float (hidden)