[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wierd format output
- To: info-mcl@digitool.com
- Subject: Wierd format output
- From: ethan+@pitt.edu
- Date: Wed, 1 Feb 1995 16:48:04 -0500
- Sender: owner-info-mcl@digitool.com
This may seem silly, but I can't understand:
? (format t "~%~10,1,1E" 15)
1.5E+1
? (format t "~%~10,1,1E" 15E12)
1.5E+13
? (format t "~%~10,1,2E" 15)
2.0E+01
Why is there a rounding error in the last example? Why is there
rounding at all?
Thanks,
Ethan
Ethan Benatan
ethan+@pitt.edu