Next: , Up: built-in numerics compnums   [Contents][Index]


6.13.14.1 The <compnum> type

Core Type: <compnum>
Parent Type: <complex>

Type of compnum values.

Constructor on <compnum>: <compnum> type-constructor obj

Validate obj as object of type <compnum>. Return obj itself.

Type predicate on <compnum>: <boolean> type-predicate obj

The type predicate is compnum?. Return #t if obj is an object of type <compnum>; otherwise return #f.

Hash function on <compnum>: <non-negative-fixnum> hash-function this

The hash function is compnum-hash.