Copyright (C) 2000-2012 |
GNU Info (guile.info)Primitive NumericsPrimitive Numeric Functions --------------------------- Many of Guile's numeric procedures which accept any kind of numbers as arguments, including complex numbers, are implemented as Scheme procedures that use the following real number-based primitives. These primitives signal an error if they are called with complex arguments. - primitive: $abs x Return the absolute value of X. - primitive: $sqrt x Return the square root of X. - primitive: $expt x1 x2 Return X1 raised to the power of X2. - primitive: $sin x Return the sine of X. - primitive: $cos x Return the cosine of X. - primitive: $tan x Return the tangent of X. - primitive: $asin x Return the arcsine of X. - primitive: $acos x Return the arccosine of X. - primitive: $atan x Return the arctangent of X in the range -PI/2 to PI/2. - primitive: $atan2 y x Return the arctangent of Y/X, using the signs of X and Y to determine the quadrant of the result. - primitive: $exp x Return e to the power of X, where e is the base of natural logarithms (2.71828...). - primitive: $log x Return the natural logarithm of X. - primitive: $sinh x Return the hyperbolic sine of X. - primitive: $cosh x Return the hyperbolic cosine of X. - primitive: $tanh x Return the hyperbolic tangent of X. - primitive: $asinh x Return the hyperbolic arcsine of X. - primitive: $acosh x Return the hyperbolic arccosine of X. - primitive: $atanh x Return the hyperbolic arctangent of X. automatically generated by info2www version 1.2.2.9 |