#DOCUMENTATION by cg
class: Float
comment/format in: #readBinaryIEEEDoubleFrom:into:
--- a/Float.st Wed Apr 20 11:28:01 2016 +0200
+++ b/Float.st Wed Apr 20 11:30:45 2016 +0200
@@ -496,6 +496,7 @@
^ Epsilon
! !
+
!Float class methodsFor:'binary storage'!
readBinaryIEEEDoubleFrom:aStream
@@ -529,12 +530,12 @@
"not part of libboss, as this is also used by others (TIFFReader)"
!
-readBinaryIEEEDoubleFrom:aStream into:aFloat
+readBinaryIEEEDoubleFrom:aStream into:aBasicNewFloat
"read the receiver's value from the binary stream, aStream,
interpreting the next bytes as an IEEE formatted 8-byte float.
The bytes are read in the native byte order (i.e.lsb on intel)"
- ^ self readBinaryIEEEDoubleFrom:aStream into:aFloat MSB:(UninterpretedBytes isBigEndian)
+ ^ self readBinaryIEEEDoubleFrom:aStream into:aBasicNewFloat MSB:(UninterpretedBytes isBigEndian)
!
readBinaryIEEEDoubleFrom:aStream into:aFloat MSB:msb
@@ -777,7 +778,6 @@
"
! !
-
!Float class methodsFor:'queries'!
exponentCharacter
@@ -843,7 +843,6 @@
^ 2 "must be careful here, whenever ST/X is used on VAX or a 370"
! !
-
!Float methodsFor:'arithmetic'!
* aNumber
@@ -2359,7 +2358,6 @@
"
! !
-
!Float methodsFor:'testing'!
isFinite