# fixed-point: Binary fixed-point arithmetic

This package defines a type for binary fixed-precision arithmetic. The main differences between this and Data.Fixed are that this is binary fixed-point and it's polymorphic in the underlying representation. When is this more appropriate than floating point? You'll mainly want to use this when you need to be able to represent fractional values within a bounded range. Fixed-point numbers have the advantage of uniformity in these cases. On the downside, you lose precision relative to floating point numbers as you approach zero, and you lose the ability to express very large (but imprecise) values that floating point can express. On some architectures, fixed-point arithmetic might be faster than floating-point arithmetic, but this is probably not the case on x86.

## Downloads

- fixed-point-0.5.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)

#### Maintainer's Corner

For package maintainers and hackage trustees

Candidates

- No Candidates

Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.0.1 |
---|---|

Dependencies | base (>=4.3 && <4.5) [details] |

License | MIT |

Author | Jake McArthur |

Maintainer | Jake McArthur <Jake.McArthur@gmail.com> |

Category | Data, Game, Math, Numerical |

Source repo | head: darcs get http://patch-tag.com/r/jmcarthur/fixed-point this: darcs get http://patch-tag.com/r/jmcarthur/fixed-point --tag v0.5.0.1 |

Uploaded | by JakeMcArthur at 2011-08-27T16:36:51Z |

Distributions | NixOS:0.5.0.1 |

Reverse Dependencies | 3 direct, 0 indirect [details] |

Downloads | 5985 total (19 in the last 30 days) |

Rating | (no votes yet) [estimated by Bayesian average] |

Your Rating | |

Status | Docs uploaded by user Build status unknown [no reports yet] |