# Math Module

## Index

math/-inf number source
`The number representing negative infinity`
Community Examples

math/abs cfunction source
```(math/fabs x)

Return the absolute value of x.```
Community Examples

math/acos cfunction source
```(math/acos x)

Returns the arccosize of x.```
Community Examples

math/acosh cfunction source
```(math/acosh x)

Returns the hyperbolic arccosine of x.```
Community Examples

math/asin cfunction source
```(math/asin x)

Returns the arcsin of x.```
Community Examples

math/asinh cfunction source
```(math/asinh x)

Returns the hypberbolic arcsine of x.```
Community Examples

math/atan cfunction source
```(math/atan x)

Returns the arctangent of x.```
Community Examples

math/atan2 cfunction source
```(math/atan2 y x)

Returns the arctangent of y/x. Works even when x is 0.```
Community Examples

math/atanh cfunction source
```(math/atanh x)

Returns the hyperbolic arctangent of x.```
Community Examples

math/cbrt cfunction source
```(math/cbrt x)

Returns the cube root of x.```
Community Examples

math/ceil cfunction source
```(math/ceil x)

Returns the smallest integer value number that is not less than x.```
Community Examples

math/cos cfunction source
```(math/cos x)

Returns the cosine of x.```
Community Examples

math/cosh cfunction source
```(math/cosh x)

Returns the hyperbolic cosine of x.```
Community Examples

math/e number source
`The base of the natural log.`
Community Examples

math/erf cfunction source
```(math/erf x)

Returns the error function of x.```
Community Examples

math/erfc cfunction source
```(math/erfc x)

Returns the complementary error function of x.```
Community Examples

math/exp cfunction source
```(math/exp x)

Returns e to the power of x.```
Community Examples

math/exp2 cfunction source
```(math/exp2 x)

Returns 2 to the power of x.```
Community Examples

math/expm1 cfunction source
```(math/expm1 x)

Returns e to the power of x minus 1.```
Community Examples

math/floor cfunction source
```(math/floor x)

Returns the largest integer value number that is not greater than x.```
Community Examples

math/gamma cfunction source
```(math/gamma x)

Returns gamma(x).```
Community Examples

math/hypot cfunction source
```(math/hypot a b)

Returns c from the equation c^2 = a^2 + b^2.```
Community Examples

math/inf number source
`The number representing positive infinity`
Community Examples

math/int-max number source
`The maximum contiguous integer represtenable by a double (-(2^53))`
Community Examples

math/int-min number source
`The minimum contiguous integer representable by a double (2^53)`
Community Examples

math/int32-max number source
`The maximum contiguous integer represtenable by a 32 bit signed integer`
Community Examples

math/int32-min number source
`The minimum contiguous integer representable by a 32 bit signed integer`
Community Examples

math/log cfunction source
```(math/log x)

Returns the natural logarithm of x.```
Community Examples

math/log10 cfunction source
```(math/log10 x)

Returns the log base 10 of x.```
Community Examples

math/log1p cfunction source
```(math/log1p x)

Returns (log base e of x) + 1 more accurately than (+ (math/log x) 1)```
Community Examples

math/log2 cfunction source
```(math/log2 x)

Returns the log base 2 of x.```
Community Examples

math/nan number source
`Not a number (IEEE-754 NaN`
Community Examples

math/next cfunction source
```(math/next x y)

Returns the next representable floating point vaue after x in the direction of y.```
Community Examples

math/pi number source
`The value pi.`
Community Examples

math/pow cfunction source
```(math/pow a x)

Returns a to the power of x.```
Community Examples

math/random cfunction source
```(math/random)

Returns a uniformly distributed random number between 0 and 1```
Community Examples

math/rng cfunction source
```(math/rng &opt seed)

Creates a Psuedo-Random number generator, with an optional seed. The seed should be an unsigned 32 bit integer or a buffer. Do not use this for cryptography. Returns a core/rng abstract type.```
Community Examples

math/rng-buffer cfunction source
```(math/rng-buffer rng n &opt buf)

Get n random bytes and put them in a buffer. Creates a new buffer if no buffer is provided, otherwise appends to the given buffer. Returns the buffer.```
Community Examples

math/rng-int cfunction source
```(math/rng-int rng &opt max)

Extract a random random integer in the range [0, max] from the RNG. If no max is given, the default is 2^31 - 1.```
Community Examples

math/rng-uniform cfunction source
```(math/rng-uniform rng)

Extract a random number in the range [0, 1) from the RNG.```
Community Examples

math/round cfunction source
```(math/round x)

Returns the integer nearest to x.```
Community Examples

math/seedrandom cfunction source
```(math/seedrandom seed)

Set the seed for the random number generator. seed should be an integer or a buffer.```
Community Examples

math/sin cfunction source
```(math/sin x)

Returns the sine of x.```
Community Examples

math/sinh cfunction source
```(math/sinh x)

Returns the hyperbolic sine of x.```
Community Examples

math/sqrt cfunction source
```(math/sqrt x)

Returns the square root of x.```
Community Examples

math/tan cfunction source
```(math/tan x)

Returns the tangent of x.```
Community Examples

math/tanh cfunction source
```(math/tanh x)

Returns the hyperbolic tangent of x.```
Community Examples

math/trunc cfunction source
```(math/trunc x)

Returns the integer between x and 0 nearest to x.```
Community Examples