Next: , Previous: , Up: Packages   [Contents][Index]


5.3 Numeric

Constant: most-positive-fixnum

The immediate integer closest to positive infinity. See Configuration in SLIB.

Constant: most-negative-fixnum

The immediate integer closest to negative infinity.

Constant: $pi
Constant: pi

The ratio of the circumference to the diameter of a circle.

These procedures are in addition to those in See Irrational Integer Functions in SLIB.

Function: exact-round x
Function: exact-floor x
Function: exact-ceiling x
Function: exact-truncate x

Return exact integers.

These procedures augment the standard capabilities in Numerical operations in Revised(5) Scheme. Many are from See Irrational Real Functions in SLIB.

Function: pi* z

(* pi z)

Function: pi/ z

(/ pi z)

Function: sinh z
Function: cosh z
Function: tanh z

Return the hyperbolic sine, cosine, and tangent of z

Function: asinh z
Function: acosh z
Function: atanh z

Return the inverse hyperbolic sine, cosine, and tangent of z

Function: real-sqrt x
Function: real-exp x
Function: real-ln x
Function: real-sin x
Function: real-cos x
Function: real-tan x
Function: real-asin x
Function: real-acos x
Function: real-atan x
Function: atan y x
Function: real-sinh x
Function: real-cosh x
Function: real-tanh x
Function: real-asinh x
Function: real-acosh x
Function: real-atanh x

Real-only versions of these popular functions. The argument x must be a real number. It is an error if the value which should be returned by a call to these procedures is not real.

Function: real-log10 x

Real-only base 10 logarithm.

Function: $atan2 y x

Computes (angle (make-rectangular x y)) for real numbers y and x.

Function: real-expt x1 x2

Returns real number x1 raised to the real power x2. It is an error if the value which should be returned by a call to real-expt is not real.

Function: infinite? z
Function: finite? z

All IEEE-754 numbers except positive and negative infinity and NaN (non-a-number) are finite.


Next: , Previous: , Up: Packages   [Contents][Index]