[jhc] Strange output results from pidigits program

John Meacham john at repetae.net
Thu Feb 10 10:09:37 CET 2011


This appears to be because jhc is using IntMax for Integer while ghc
is using a true arbitrary precision integral type. When I make them
both use short types, the output is identical.

     John

On Wed, Feb 9, 2011 at 3:19 PM, Korcan Hussein <korcan_h at hotmail.com> wrote:
>
> Hello, someone on #haskell irc showed me a program on the shootouts that compiles & runs but produces unusual results with jhc-0.7.7:
>
> http://shootout.alioth.debian.org/u64/benchmark.php?test=pidigits&lang=ghc
>
> _______________________________________________
> jhc mailing list
> jhc at haskell.org
> http://www.haskell.org/mailman/listinfo/jhc
>



More information about the jhc mailing list