Levente Uzonyi uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ar.171.mcz==================== Summary ====================
Name: KernelTests-ar.171
Author: ar
Time: 26 December 2010, 8:11:11.683 am
UUID: 7d44d7be-dc5f-d042-b555-ea37e75d4ca1
Ancestors: KernelTests-ar.170
Merge FloatConsistencyTests for bit-identical floating point behavior. Fix FloatTest>>testDegree[Sin|Cos]ForExceptionalValues to use non-signaling NaNs otherwise the tests fail.
=============== Diff against KernelTests-ar.170 ===============
Item was changed:
----- Method: FloatTest>>testDegreeCosForExceptionalValues (in category 'test - mathematical functions') -----
testDegreeCosForExceptionalValues
+ | signaling |
+ signaling := Float signalNaN.
+ [Float signalNaN: false.
self assert: Float nan degreeCos isNaN.
self assert: Float infinity degreeCos isNaN.
+ self assert: Float infinity negated degreeCos isNaN.
+ ] ensure:[Float signalNaN: signaling].
+ !
- self assert: Float infinity negated degreeCos isNaN.!
Item was changed:
----- Method: FloatTest>>testDegreeSinForExceptionalValues (in category 'test - mathematical functions') -----
testDegreeSinForExceptionalValues
+ | signaling |
+ signaling := Float signalNaN.
+ [Float signalNaN: false.
self assert: Float nan degreeSin isNaN.
self assert: Float infinity degreeSin isNaN.
+ self assert: Float infinity negated degreeSin isNaN.
+ ] ensure:[Float signalNaN: signaling].!
- self assert: Float infinity negated degreeSin isNaN.!