-1796254192 `div` 357566600 == 5 ??

Dylan Thurston dpt at lotus.bostoncoop.net
Thu Jun 27 11:44:29 EDT 2002


There seems to be some problem with the gmp interface:

dpt at lotus:~$ ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 5.02.2, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package std ... linking ... done.
Prelude> -1796254192 `div` 357566600
5
Prelude>

Has this been fixed already?  I checked, and the gmp library itself
(Debian version 4.0.1-3) does not have this problem.

Best,
	Dylan Thurston
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20020627/bb4d9788/attachment.bin


More information about the Glasgow-haskell-bugs mailing list