div 0 0 give exception / endless loop
|Reported by:||snailtalk||Owned by:||simonmar|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
There is a problem with the div in ghc, to reproduce: start ghci and type div n 0 where n is any integer (so div 3 0 would work) on a linux box it gives a floating point exception while on a BSD 4.4 box it gives and endless loop using about 87 % of cpu. I have verified this on both the latest release (5.02.2) and 5.02.1.
Change History (6)
Note: See TracTickets for help on using tickets.