-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlogfloat-HCAR.tex
20 lines (16 loc) · 979 Bytes
/
logfloat-HCAR.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\begin{hcarentry}{logfloat}
\report{Wren G. Romano}%01/14
\status{provisional?}
\release{0.14}
\portability{GHC 7.8}% does Hugs Sept2006 still work?
\makeheader
The logfloat library provides a type for storing numbers in the log-domain. This is primarily useful for avoiding underflow when multiplying many small numbers in probabilistic models.
It also includes support for dealing with IEEE-754 floating point numbers (more) correctly, including: a class for types with representations for transfinite values, a class for partially ordered types, efficient and correct conversion from \texttt{Real} to \texttt{Fractional}, and bug fixes for Hugs' Prelude.
\FuturePlans
Add a signed variant so negative numbers can also be projected into the log-domain.
\FurtherReading
\begin{compactitem}
\item Official source and documentation available on Hackage
\item The development branch is available from \url{http://community.haskell.org/~wren/}
\end{compactitem}
\end{hcarentry}