[Yhc] yhi error in nobench: wrong output for digits-of-e2

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu Feb 22 06:33:36 EST 2007


This program in the nobench suite:

    http://www.cse.unsw.edu.au/~dons/code/nobench/imaginary/digits-of-e2/digits-of-e2.hs

Generates incorrect output with yhi darcs version:

    $ yhc   digits-of-e2.hs
    $ yhi Main.hbc 10
    "2.88506250"

Should be:

    $ ./digits-of-e2 10     
    "2.71828182"

If it helps narrow things down, nhc98 from darcs produces the correct
output here.

Cheers,
  Don


More information about the Yhc mailing list