mod 0 results in core dump

Simon Marlow simonmar at microsoft.com
Thu Oct 24 05:22:39 EDT 2002


> Prelude> 4 `mod` 0
> Floating exception (core dumped)
> 
> 'nuf said.  ghc 5.04.1, solaris.

It now raises an exception, and the fix is scheduled to be merged into
5.04.2.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list