Defines | |
#define | REALnibbles(src) (21) |
The size of a REAL in nibbles. | |
Functions | |
bool | isREAL (SatAddr src) |
is object a real "approximate mode" number (REAL)? | |
bool | REALdecode (SatAddr src, double *dst) |
Convert REAL to C double. | |
SatAddr | REALencode (double d, SatAddr dst) |
Convert a C double to an HP REAL. | |
SatAddr | makeREAL () |
Create a new REAL in tempOb. It's value is undefined. |
#define REALnibbles | ( | src | ) | (21) |
The size of a REAL in nibbles.
src | Saturn address of the REAL. Although unnecessary, the parameter is included for consistency |
bool isREAL | ( | SatAddr | src | ) |
is object a real "approximate mode" number (REAL)?
src | Saturn address of an object |
bool REALdecode | ( | SatAddr | src, | |
double * | dst | |||
) |
Convert REAL to C double.
src | The REAL to decode | |
dst | Where to store the REAL's value |
Convert a C double to an HP REAL.
src | The double to convert. | |
dst | Where to store the REAL. If zero then a new REAL is created. |