[BUG][FIX] Float fromIEEE32Bit:

Georg Gollmann georg.gollmann at tuwien.ac.at
Fri Feb 9 13:27:59 UTC 2001


Float>fromIEEE32Bit: claims it works for positive values only. 
Judging from the code and the results it produces negative numbers 
work just fine. So I think the line

  word negative ifTrue: [^ self error:'Cannot deal with negative numbers'].

should be removed.

Georg
-- 
----
Dipl.Ing. Georg Gollmann                TU-Wien, Zentraler Informatikdienst
                                         Wiedner Hauptstr. 8-10
phon:(+43-1) 58801 - 42022              A-1040 Wien
fax: (+43-1) 58801 - 42099
mail:gollmann at zid.tuwien.ac.at
http://macos.tuwien.ac.at/Gollmann.html





More information about the Squeak-dev mailing list