Next: iklib numerics, Previous: iklib fixnums, Up: iklib [Index]
The following bindings are exported by the library (vicare)
.
Return #t
if obj is null or a proper list of flonums;
otherwise return #f
.
Return #t
if fl is, respectively, non–positive or
non–negative; else return #f
.
Return #t
if obj is a flonum representing zero, positive zero
or negative zero; otherwise return #f
. If obj is not a
flonum: return #f
.
Return #t
if obj is a flonum respectively: positive,
negative, non–positive, non–negative; otherwise return #f
. If
obj is not a flonum: return #f
.
Notice the following behaviour with zero:
(positive-flonum? +0.0) ⇒ #f (positive-flonum? -0.0) ⇒ #f (negative-flonum? +0.0) ⇒ #f (negative-flonum? -0.0) ⇒ #f (non-positive-flonum? +0.0) ⇒ #t (non-positive-flonum? -0.0) ⇒ #t (non-negative-flonum? +0.0) ⇒ #t (non-negative-flonum? -0.0) ⇒ #t
The arguments must be flonums. Return #t
if the arguments are all
different: no two arguments are equal; otherwise return #f
. When
applied to a single argument: return #f
.
Return true if the operand is +0.0
or -0.0
, respectively.
Notice that flzero?
does not make this distinction.
Convert between a flonum and its string representation.
Return a flonum equivalent to log(1 + fl).
Return a flonum equivalent to exp(fl) - 1.
Compute the Euclidean distance function: \sqrt(X*X+Y*Y). (libc)hypot.
Compute the hyperbolic functions. Return flonum objects.
Compute the inverse hyperbolic functions. Return flonum objects.
Return the square of fl, that is fl multiplied by itself.
Return the cube of fl, that is fl times fl times fl.
Return the real cube root function of fl.
Return 8 values being fixnums representing octects from the binary representation of fl.
Return 3 values begin: a boolean, true if fl is positive; a fixnum representing the exponent’s 11 bits; an exact integer representing the mantissa’s 53 bits.
(flonum-parts 2.0) ⇒ #t #b10000000000 #b0 (flonum-parts 4.0) ⇒ #t #b10000000001 #b0 (flonum-parts +0.0) ⇒ #t #b00000000000 #b0 (flonum-parts -0.0) ⇒ #f #b00000000000 #b0
Next: iklib numerics, Previous: iklib fixnums, Up: iklib [Index]