Next: , Previous: , Up: syslib   [Index]


12.9 Low level cflonum operations

The arguments cmp to these operations must be cflonums, the arguments fl must be references to flonums. The following bindings are exported by the library (vicare system $compnums). iklib numerics for more functions acting on cflonums.

Unsafe Operation: $make-cflonum fl1 fl2

Allocate a new cflonum memory block, store fl1 as reference to the real part and fl2 as reference to the imaginary part. Return a reference to the cflonum.

Unsafe Operation: $cflonum-real cmp

Return the reference to the real part.

Unsafe Operation: $cflonum-imag cmp

Return the reference to the imaginary part.