Fix precision error in llTan special values.

This commit is contained in:
Sei Lisa 2016-05-21 02:25:05 +02:00
parent 4172f02439
commit 7b70bfe55f
2 changed files with 4 additions and 4 deletions

View file

@ -847,8 +847,8 @@ def do_tests():
test('llTan(F32(1e38))', F32(1e38))
test('llTan(F32(4e38))', Indet)
test('llTan(F32(math.pi))', F('0x1.777A5Cp-24'))
test('llTan(F32(math.pi*.5))', -22877330.)
test('llTan(F("0x1.921FB4p0"))', 13245400.)
test('llTan(F32(math.pi*.5))', -22877332.)
test('llTan(F("0x1.921FB4p0"))', 13245402.)
test('llAsin(2.0)', NaN)
test('llAcos(2.0)', NaN)
test('llAtan2(0.0, 0.0)', 0.0)