mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
1.9 KiB
1.9 KiB
SRFI 143 - Fixnums
This SRFI describes arithmetic procedures applicable to a limited range of exact integers only. These procedures are semantically similar to the corresponding generic-arithmetic procedures, but allow more efficient implementations.
See the SRFI document for more information.
Constants
Predicates
fixnum
fx
fx-1
fx-2
fx-3
[fx-4
fx>=?)
fxzero
fxpositive
fxnegative
fxodd
fxeven
fxmax
fxmin
Basic arithmetic
fx-5
fx-
fx-6
fxneg
fxquotient
fxremainder
fxabs
fxsquare
fxsqrt
Bitwise operations
fxnot
fxand
fxior
fxxor
fxarithmetic-shift
fxarithmetic-shift-left
fxarithmetic-shift-right
fxbit-count
fxlength
fxif
fxbit-set
fxcopy-bit
fxfirst-set-bit
fxbit-field
fxbit-field-rotate
fxbit-field-reverse