#DOCUMENTATION by cg
class: Number class
comment/format in:
#readMantissaAndScaleFrom:radix:
#readMantissaFrom:radix:
--- a/Number.st Thu May 10 02:01:02 2018 +0200
+++ b/Number.st Thu May 10 02:01:15 2018 +0200
@@ -846,8 +846,7 @@
in addition, the mantissa as integer and the scale (number of postDecimalPoint digits) is returned
(both to support reading fixedPoint numbers and to not loose precision).
The integer mantissa is needed as we do not yet know the target type (could be LongFloat or even QDouble).
- No whitespace is skipped.
- Errs if no number is available on aStream."
+ No whitespace is skipped."
|nextChar value factor intMantissa scale digit scaleFactor xvalue|
@@ -912,8 +911,7 @@
"helper for readFrom: -
return the mantissa (post-decimal-point digits)
from the (character-)stream aStream;
- No whitespace is skipped.
- Errs if no number available."
+ No whitespace is skipped."
^ (self readMantissaAndScaleFrom:aStream radix:radix) first