mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
2 KiB
2 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<?
fx>?
fx<=?
fx>=?
fxzero?
fxpositive?
fxnegative?
fxodd?
fxeven?
fxmax
fxmin
Basic arithmetic
fx+
fx-
fx*
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