Nicolas Cellier uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-nice.362.mcz==================== Summary ====================
Name: KernelTests-nice.362
Author: nice
Time: 4 May 2019, 11:35:49.311657 pm
UUID: bfa7db2b-b88d-4b99-bf74-7271520443e6
Ancestors: KernelTests-nice.361
Exhibit a problem with nthRootRounded: which does not round to nearest Integer.
=============== Diff against KernelTests-nice.361 ===============
Item was added:
+ ----- Method: IntegerTest>>testNthRootRounded (in category 'tests - mathematical functions') -----
+ testNthRootRounded
+ <timeout: 5 "seconds">
+ | d x |
+ d := ((1 + 2 reciprocal - (1<<30) reciprocal) raisedTo: 1000) floor. "close to 1.5 by default"
+ x := ((1 + 2 reciprocal + (1<<30) reciprocal) raisedTo: 1000) ceiling. "close to 1.5 by excess"
+ self assert: (d nthRootTruncated: 1000) equals: 1.
+ self assert: (x nthRootTruncated: 1000) equals: 1.
+ self assert: (d nthRootRounded: 1000) equals: 1.
+ self assert: (x nthRootRounded: 1000) equals: 2.!