http://people.csail.mit.edu/jaffer/SCM_CONFORMANCE | |
* SCM Standards Conformance |
When compiled with floating-point number support, SCM's numerics are instead described mostly by:
http://srfi.schemers.org/srfi-70/
gcd
, lcm
,
modulo
, remainder
,
quotient
, even?
, and odd?
accept only exact integer arguments.
(/ 0 0)
returns a NaN instead of erring.
(log 0)
returns an infinity instead of erring.
(expt 0 -1)
returns an infinity instead of erring.
(* 0 (expt 0 -1))
returns a NaN instead of erring.
Copyright © 2007, 2013 Aubrey Jaffer
I am a guest and not a member of the MIT Computer Science and Artificial Intelligence Laboratory.
My actions and comments do not reflect in any way on MIT. | ||
agj @ alum.mit.edu | Go Figure! |