"David House" <[EMAIL PROTECTED]> writes:

> On 31/05/07, Andrew Coppin <[EMAIL PROTECTED]> wrote:
> > If you're bored... can you come up with a solution to this?
> 
> Try using floatToDigits:
> http://haskell.org/ghc/docs/latest/html/libraries/base/Numeric.html#v%3AfloatToDigits
> 
> "floatToDigits takes a base and a non-negative RealFloat number, and
> returns a list of digits and an exponent."

I think you also need floatRadix and floatDigits.

-- 
Jón Fairbairn                                 [EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to