Skip to content

Commit

Permalink
Add more tests of acos.
Browse files Browse the repository at this point in the history
This patch adds some randomly-generated tests of acos that are
observed to increase ulps on x86_64.

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add more tests of acos.
	* math/auto-libm-test-out: Regenerated.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  • Loading branch information
Joseph Myers committed Mar 25, 2015
1 parent bc899ea commit 8d64397
Show file tree
Hide file tree
Showing 5 changed files with 429 additions and 12 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2015-03-25 Joseph Myers <joseph@codesourcery.com>

* math/auto-libm-test-in: Add more tests of acos.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.

* math/auto-libm-test-in: Add more tests of expm1.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
Expand Down
6 changes: 6 additions & 0 deletions math/auto-libm-test-in
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ acos -0x1p-65
acos -0x1p-85
acos -0x1p-105
acos -0x1p-125
acos -0x2.0089a4p-4
acos 0xf.04aeep-4
acos 0x5.dd258006121b8p-4
acos -0x2.35f051e70dbc4p-4
acos 0xe.9a5c0d7fabb9aa1p-4
acos 0xe.17513589de79b75p-4
acos min
acos -min
acos min_subnorm
Expand Down
Loading

0 comments on commit 8d64397

Please sign in to comment.