
* Omari Norman
On Sat, Feb 8, 2014 at 3:39 PM, Nicolas Trangez
wrote: Note there's some existing support for this in `base`:
On Sat, 2014-02-08 at 15:06 -0500, Omari Norman wrote:
but for a short explanation, go into ghci and type:
print $ 0.1 + 0.1 + 0.1
λ print $ (0.1 + 0.1 + 0.1 :: Double) 0.30000000000000004
λ :m + Data.Fixed
Key word there is "Fixed"; deka supports floating point with up to 34 digits of precision but
So it is fixed, too? I'm not sure "Fixed" qualifies as a key word, then :) Note that Data.Fixed doesn't put any restrictions on the (fixed) precision. You could easily define E34. So yeah, a comparison with Data.Fixed would be nice to see. Is deka faster? By how much? Does it support any additional operations? Which ones? Roman