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

Tim Chevalier catamorphism at gmail.com
Tue Jan 20 19:23:23 EST 2009


On 1/20/09, Don Stewart <dons at galois.com> 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 doesn't use foreign calls.
>  >
>
>
> Huh, what's the use case?
>

I'm implementing a compiler that doesn't support foreign calls (yet).

Cheers,
Tim

-- 
Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt
"I cannot remember a time when I did not take it as understood that
everybody has at least two, if not twenty-two, sides to him." --
Robertson Davies


More information about the Haskell-Cafe mailing list