Defines | |
#define | CMPnibbles(src) (37) |
The size of a CMP in nibbles. | |
Functions | |
bool | isCMP (SatAddr src) |
is object a Complex number (CMP)? | |
bool | CMPdecode (SatAddr src, double *re, double *im) |
Decode CMP into it's real and imaginary components. | |
SatAddr | CMPencode (double re, double im, SatAddr dst) |
Convert two C doubles into an HP CMP object. | |
SatAddr | makeCMP () |
Create a new CMP in tempOb. It's value is undefined. |
#define CMPnibbles | ( | src | ) | (37) |
The size of a CMP in nibbles.
src | Saturn address of the CMP. Although unnecessary, the parameter is included for consistency |
bool CMPdecode | ( | SatAddr | src, | |
double * | re, | |||
double * | im | |||
) |
Decode CMP into it's real and imaginary components.
src | The CMP to decode | |
re | If non-null, the real part of src will be placed here | |
im | If non-null, the imaginary part of src will be placed here |
Convert two C doubles into an HP CMP object.
re | The real part of the complex number | |
im | The imaginary part of the complex number | |
dst | Where to store the CMP. If zero, then a new CMP is created in tempOb. |
bool isCMP | ( | SatAddr | src | ) |
is object a Complex number (CMP)?
src | Saturn address of an object |