--- a/Number.st Thu Nov 21 22:10:52 2019 +0100
+++ b/Number.st Thu Nov 21 22:11:10 2019 +0100
@@ -957,6 +957,7 @@
"Modified (comment): / 08-06-2017 / 13:58:36 / mawalch"
! !
+
!Number class methodsFor:'constants'!
e
@@ -1215,6 +1216,7 @@
"
! !
+
!Number class methodsFor:'private'!
readMantissaAndScaleFrom:aStream radix:radix
@@ -1322,6 +1324,7 @@
^ self == Number
! !
+
!Number methodsFor:'Compatibility-Squeak'!
asSmallAngleDegrees
@@ -1352,6 +1355,7 @@
"Modified: / 25-07-2017 / 15:58:46 / cg"
! !
+
!Number methodsFor:'coercing & converting'!
i
@@ -3423,16 +3427,20 @@
^ self asInteger isPerfectSquare
"
- 0 isPerfectSquare
+ 0 isPerfectSquare
0.0 isPerfectSquare
+ 1 isPerfectSquare
+ 1.0 isPerfectSquare
+ 2 isPerfectSquare
+ 2.0 isPerfectSquare
3 isPerfectSquare
3.0 isPerfectSquare
4 isPerfectSquare
4.0 isPerfectSquare
- 9 isPerfectSquare
- 9.0 isPerfectSquare
+ 9 isPerfectSquare
+ 9.0 isPerfectSquare
123456789012345678901234567890 squared isPerfectSquare
- 1000 factorial squared isPerfectSquare
+ 1000 factorial squared isPerfectSquare
"
!
@@ -3940,6 +3948,7 @@
"
! !
+
!Number class methodsFor:'documentation'!
version