[openfirmware] r891 - cpu/x86
svn at openfirmware.info
svn at openfirmware.info
Wed Aug 27 08:48:20 CEST 2008
Author: wmb
Date: 2008-08-27 08:48:20 +0200 (Wed, 27 Aug 2008)
New Revision: 891
Modified:
cpu/x86/float387.fth
Log:
x86 floating point - Fixed bug in scientific notation display.
Modified: cpu/x86/float387.fth
===================================================================
--- cpu/x86/float387.fth 2008-08-27 06:35:16 UTC (rev 890)
+++ cpu/x86/float387.fth 2008-08-27 06:48:20 UTC (rev 891)
@@ -537,11 +537,11 @@
base @ >r decimal
fdup #idigits
#places @ over - fpack
- dup abs <# #s nlswap sign ascii E hold
+ dup abs <# u#s nlswap sign ascii E hold
#places @ 1 max 0 do i fdigit loop
ascii . hold
?-
- #>
+ u#>
r> base !
frestore
;
More information about the openfirmware
mailing list