Copyright © 2007 Mochi Media, Inc.

**Authors:** Bob Ippolito (`bob@mochimedia.com`).

digits/1 | Returns a string that accurately represents the given integer or float using a conservative amount of digits. |

frexp/1 | Return the fractional and exponent part of an IEEE 754 double, equivalent to the libc function of the same name. |

int_ceil/1 | Return the ceiling of F as an integer. |

int_pow/2 | Moderately efficient way to exponentiate integers. |

`digits(N::number()) -> string()`

Returns a string that accurately represents the given integer or float using a conservative amount of digits. Great for generating human-readable output, or compact ASCII serializations for floats.

`frexp(F::float()) -> {Frac::float(), Exp::float()}`

Return the fractional and exponent part of an IEEE 754 double, equivalent to the libc function of the same name. F = Frac * pow(2, Exp).

`int_ceil(F::float()) -> integer()`

Return the ceiling of F as an integer. The ceiling is defined as F when F == trunc(F); trunc(F) when F < 0; trunc(F) + 1 when F > 0.

`int_pow(X::integer(), N::integer()) -> Y::integer()`

Moderately efficient way to exponentiate integers. int_pow(10, 2) = 100.

*Generated by EDoc*