Bugs item #537295, was opened at 2002-03-31 01:36 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=537295&group_id=8032
>Category: Runtime System >Group: 5.02 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: geoff (snailtalk) >Assigned to: Simon Marlow (simonmar) Summary: div 0 0 give exception / endless loop Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2002-07-02 11:30 Message: Logged In: YES user_id=48280 Fixed by not ignoring SIGFPE. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=537295&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
