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


6.13.9.1 The <exact-integer> type

Core Type: <exact-integer>
Parent Type: <integer>

Type of exact integers. There is no constructor. The type predicate is exact-integer?.

Constructor on <exact-integer>: <exact-integer> type-constructor obj

Validate obj as object of type <exact-integer> and return it.

Type predicate on <exact-integer>: <boolean> type-predicate obj

The type predicate is exact-integer?. Return #t if obj is a <exact-integer> object, otherwise return #f.

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

The hash function is exact-integer-hash.

Methods

Method on <exact-integer>: <exact-integer> div this {N <exact-integer>}

Apply div to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> mod this {N <exact-integer>}

Apply mod to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> div-and-mod this {N <exact-integer>}

Apply div-and-mod to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> div0 this {N <exact-integer>}

Apply div0 to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> mod0 this {N <exact-integer>}

Apply mod0 to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> div0-and-mod0 this {N <exact-integer>}

Apply div0-and-mod0 to the arguments and return its return value.

Method on <exact-integer>: <exact-integer> exact-integer-sqrt this {N <exact-integer>}

Apply exact-integer-sqrt to the arguments and return its return value.