From: sof Date: Wed, 11 Mar 1998 16:54:13 +0000 (+0000) Subject: [project @ 1998-03-11 16:54:13 by sof] X-Git-Tag: Approx_2487_patches~871 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5dd41827b71c65a7f2e62330e7bf2bbd4e75d419;p=ghc-hetmet.git [project @ 1998-03-11 16:54:13 by sof] jtos: leave Integer-land ASAP --- diff --git a/ghc/lib/std/PrelNum.lhs b/ghc/lib/std/PrelNum.lhs index a562fac..679329a 100644 --- a/ghc/lib/std/PrelNum.lhs +++ b/ghc/lib/std/PrelNum.lhs @@ -848,7 +848,7 @@ jtos' n cs = if n < 10 then chr (fromInteger (n + ord_0)) : cs else - jtos' (n `quot` 10) (chr (fromInteger (n `rem` 10 + ord_0)) : cs) + jtos' (n `quot` 10) (chr (toInt (n `rem` 10) + (ord_0::Int)) : cs) showFloat x = showString (formatRealFloat FFGeneric Nothing x)