cvs commit: fptools/libraries/base/GHC Err.hi-boot Err.lhs IOBase.lhs Int.hs Word.hs Num.lhs Real.lhs

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 18 Sep 2002 04:32:44 -0700


simonmar    2002/09/18 04:32:44 PDT

  Modified files:
    libraries/base/GHC   Err.hi-boot Err.lhs IOBase.lhs Int.hs 
                         Word.hs Num.lhs Real.lhs 
  Log:
  Sort out the divide-by-zero situation.
  
  Some integer division operations called error on a divide by zero, and
  some didn't test for it.  Now we always raise the DivideByZero
  exception.
  
  MERGE TO STABLE
  
  Revision  Changes    Path
  1.5       +3 -0      fptools/libraries/base/GHC/Err.hi-boot
  1.8       +11 -0     fptools/libraries/base/GHC/Err.lhs
  1.20      +1 -1      fptools/libraries/base/GHC/IOBase.lhs
  1.3       +37 -36    fptools/libraries/base/GHC/Int.hs
  1.3       +44 -48    fptools/libraries/base/GHC/Word.hs
  1.7       +1 -8      fptools/libraries/base/GHC/Num.lhs
  1.9       +21 -12    fptools/libraries/base/GHC/Real.lhs
_______________________________________________
Cvs-libraries mailing list
Cvs-libraries@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-libraries