G'day all.
Quoting Henning Thielemann <[EMAIL PROTECTED]>:
The rare cases occur for big numbers.
http://www.haskell.org/haskellwiki/Generic_number_type#isSquare
How big, you might ask?
Prelude> let dd = undefined :: Double in floatRadix dd ^ floatDigits dd
9007199254740992
Pretty big, and covering enough cases that it's worth the optimisation
when it applies:
http://andrew.bromage.org/darcs/numbertheory/Math/Util.hs
Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe