The Trunk: Kernel-nice.1376.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-nice.1376.mcz

commits-2
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!