> No.
> I'm looking for an exact integer division that avoids overflows, if
> possible.

Use Data.Ratio:

*Main Data.Ratio>  (fac 777) / (4 * fac 776) :: Ratio Integer
777%4

Convert to a float , if you want, before displaying it.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to