[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MCL Bug?



At 17:12 7/28/93 -0600, osiris@cs.utexas.edu wrote:
>I think that this is a bug in MCL
>
>? (expt 10 1.0)
>10.000000000000002
>? (setf xxx (expt 10 1.0))
>10.000000000000002
>? (format () "~,0E" xxx)
>"1.0000000000000002E+1"
>? 
>
>According to Steele "~0E" should (I think) limit the output to 0 decimal places.
>
>Am I wrong?
>
>P.S. Thanks again for all the previous help...
I think it is a bug too.  I have written a patch which will go into the next round of MCL 2.0 patches;
if you need it before then, send mail requesting 'format-e-patch'.