[jhc] bug with Integer?
John Meacham
john at repetae.net
Tue Aug 11 09:45:31 EDT 2009
On Fri, Aug 07, 2009 at 11:01:15PM +1000, Mark Wotton wrote:
> Does JHC support unbounded integers? I get different results from
>
> main = putStrLn $ show (2 * 7540113804746346428 * 2)
>
> in GHC and JHC...
Yeah, the libraries that come with jhc currently don't have an arbitrary
precision integer library. This isn't so much an issue with jhc as the
libraries it ships with, as jhc itself is agnostic about such library
issues. Once a suitable Integer library gets written (either in pure
haskell, or as a binding to an external C library) then I will include
it.
John
--
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/
More information about the jhc
mailing list