Copyright | (c) Edward Kmett 2013 |
---|---|

License | BSD3 |

Maintainer | Edward Kmett <ekmett@gmail.com> |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell98 |

These functions provide wildly inaccurate but very fast approximations to common transcendental functions.

The algorithms here are based on Martin Ankerl's optimized `pow`

,
http://martin.ankerl.com/2007/10/04/optimized-pow-approximation-for-java-and-c-c/
which is in turn based on
http://nic.schraudolph.org/pubs/Schraudolph99.pdf

# Documentation

class Floating a => Fast a where Source #

Calculate an approximate log.

Calculate an approximate exp.

Calculate an approximate pow.

## Instances

Fast Double Source # | |

Defined in Data.Approximate.Numerics | |

Fast Float Source # | |

Defined in Data.Approximate.Numerics |