The Inbox: KernelTests-ar.171.mcz

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

The Inbox: KernelTests-ar.171.mcz

commits-2
A new version of KernelTests was added to project The Inbox:
http://source.squeak.org/inbox/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.!