The OpenD Programming Language

mir.math.ieee

Base floating point routines.

Members

Enums

RealFormat
enum RealFormat

Functions

feqrel
int feqrel(T x, T y)

To what precision is x equal to y?

frexp
T frexp(T value, int exp)

Separate floating point value into significand and exponent.

ieeeMean
T ieeeMean(T xx, T yy)

Return the value that lies halfway between x and y on the IEEE number line.

ldexp
T ldexp(T n, int exp)
nextDown
T nextDown(T x)

Calculate the next smallest floating point value before x.

nextUp
T nextUp(T x)

Calculate the next largest floating point value after x.

signbit
bool signbit(T x)

Return true if sign bit of e is set, false if not.

Meta

Authors

Walter Bright, Don Clugston, Ilia Ki