Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-22 Thread Henning Thielemann
Lennart Augustsson schrieb: > There's the numbers package which contains BigFloat. You can pick > your own precision, but it's not IEEE. > It's actually base 10 floats which makes it more fun (actually, the > iEEE standard will cover base 10 floats in the future). Actually, all of the arbitrary p

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Lennart Augustsson
There's the numbers package which contains BigFloat. You can pick your own precision, but it's not IEEE. It's actually base 10 floats which makes it more fun (actually, the iEEE standard will cover base 10 floats in the future). -- Lennart On Wed, Jan 21, 2009 at 12:44 AM, Tim Chevalier wrote

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Tim Chevalier
On 1/20/09, Lennart Augustsson wrote: > Do you have Integer? > Yes (with the integer-simple library -- I was hoping there was some analogue of integer-simple for Float, although Don didn't think there was one). -t -- Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt "Havi

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Lennart Augustsson
Do you have Integer? On Wed, Jan 21, 2009 at 12:23 AM, Tim Chevalier wrote: > On 1/20/09, Don Stewart wrote: >> catamorphism: >> >> > Hello, >> > Is there a pure Haskell implementation of Floats, i.e., one that >> > (unlike GHC.Float) doesn't use foreign calls for things like >> > isFloatNega

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Tim Chevalier
On 1/20/09, Don Stewart wrote: > catamorphism: > > > Hello, > > Is there a pure Haskell implementation of Floats, i.e., one that > > (unlike GHC.Float) doesn't use foreign calls for things like > > isFloatNegativeZero? I don't care about performance; I'm just looking > > for something that doe

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Don Stewart
catamorphism: > Hello, > Is there a pure Haskell implementation of Floats, i.e., one that > (unlike GHC.Float) doesn't use foreign calls for things like > isFloatNegativeZero? I don't care about performance; I'm just looking > for something that doesn't use foreign calls. > Huh, what's the use ca

[Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Tim Chevalier
Hello, Is there a pure Haskell implementation of Floats, i.e., one that (unlike GHC.Float) doesn't use foreign calls for things like isFloatNegativeZero? I don't care about performance; I'm just looking for something that doesn't use foreign calls. Thanks, Tim -- Tim Chevalier * http://cs.pdx.ed