RE: bug in displaying fixed numbers

2001-10-26 Thread Simon Marlow
> I was very surprised when I discovered (writing a bit more complicated > program) that a program like > > > import Numeric ( floatToDigits ) > > print $ showFFloat Nothing 0.01 "" > > enters in to infinite loop. I found that (formatRealFloat FFFixed > Nothing) do not like displaying numbers le

bug in displaying fixed numbers

2001-10-25 Thread Lukasz Pankowski
I was very surprised when I discovered (writing a bit more complicated program) that a program like > import Numeric ( floatToDigits ) > print $ showFFloat Nothing 0.01 "" enters in to infinite loop. I found that (formatRealFloat FFFixed Nothing) do not like displaying numbers less than 0.1. For