> However, it's easy to write a program to verify such results,
> assuming you trust your addition and multiplication and comparisons:
> [...]
> Also, looking at arith003, there are a few more test cases I might
> include, with quotient/remainder, say, 3/4 or 1/2 of maxInt. You
> also don't seem to test arithmetic with large negative operands in
> the cases I saw.
Send us improved testsuites and we'll happily add them to our suites.
The most relevant Hugs testsuites are:
intTest.{hs,input,output}
in
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/hugs98/tests/libs/
and (somewhat lamer):
arith.{hs,input,output}
maxint.{hs,input,output}
in
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/hugs98/tests/rts/
Best bet is to cvs checkout hugs98 (we exclude the testsuite from
distributions) and follow the instructions in hugs98/tests/Readme
--
Alastair Reid
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs