[squeak-dev] The Trunk: Kernel-nice.1376.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 2 23:18:26 UTC 2021


Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.1376.mcz

==================== Summary ====================

Name: Kernel-nice.1376
Author: nice
Time: 3 March 2021, 12:18:22.91462 am
UUID: c9ee47c3-4e2a-fa4f-9dcd-ed61ababdb73
Ancestors: Kernel-jar.1375

Introduce hasLimitedPrecision which is the way to indicate that arithmetic may be inexact.

=============== Diff against Kernel-jar.1375 ===============

Item was added:
+ ----- Method: Float>>hasLimitedPrecision (in category 'testing') -----
+ hasLimitedPrecision
+ 	^true!

Item was added:
+ ----- Method: Number>>hasLimitedPrecision (in category 'testing') -----
+ hasLimitedPrecision
+ 	"indicate whether this number has limited precision.
+ 	Arithmetic involving numbers with limited precision is potentially inexact.
+ 	The default implementation is false.
+ 	Subclass subject to inexact arithmetic shall refine."
+ 	^false!



More information about the Squeak-dev mailing list