Skip to content

Commit

Permalink
Add more tests of clog and clog10.
Browse files Browse the repository at this point in the history
This patch adds some randomly-generated tests of clog and clog10 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 clog and clog10.
	* 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 Apr 9, 2015
1 parent 8a257e2 commit b3c66c5
Showing 5 changed files with 1,585 additions and 108 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2015-04-09 Joseph Myers <joseph@codesourcery.com>

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

2015-04-09 Roland McGrath <roland@hack.frob.com>

* Makeconfig (module-cppflags): Exclude all .v.i files.
16 changes: 16 additions & 0 deletions math/auto-libm-test-in
Original file line number Diff line number Diff line change
@@ -564,6 +564,11 @@ clog 0x7.40ac68p+0 0x4.251bb8p-4
clog 0xa.3ac3cp+68 0x1.47239ep+68
clog 0x3.8ff10cp+0 -0x6.b0794p-4

clog 0xa.a39ffp-4 -0x2.360c38p-4
clog 0x6.9a4569067b6ecp-4 0xb.0a30d15e7d798p-4
clog -0x1.105436p+0 -0x6.66396df3cc7ap-4
clog -0x2.c90b952282392dep-4 0x1.43cda16634cc7046p+0

clog 0x1.fffffep+127 0x1.fffffep+127
clog 0x1.fffffep+127 1.0
clog 0x1p-149 0x1p-149
@@ -692,6 +697,17 @@ clog10 0x7.40ac68p+0 0x4.251bb8p-4
clog10 0xa.3ac3cp+68 0x1.47239ep+68
clog10 0x3.8ff10cp+0 -0x6.b0794p-4

clog10 0x2.83f8ap+0 -0xb.0b529p-4
clog10 -0x2.eb21fcp-4 -0x6.59bbc8p-4
clog10 -0x3.3f7fc4p-4 0xb.ba599p-4
clog10 0x1.cd1ab2p-124 -0x8p-152
clog10 0xa.32054p-4 0x2.c7e71cp-4
clog10 -0x5.9ecf8c7b5a0f4p-4 0xa.a945e5f8761c8p-4
clog10 0x1.7a858p+0 -0x6.d940dp-4
clog10 -0x2.51320d99da5a2p-4 0x3.b8176p-4
clog10 -0x1.25c2d3e172df8p+0 0
clog10 0x1.0c684e35d0b2ap+0 -0x7.37df8a65c28fp-4

clog10 0x1.fffffep+127 0x1.fffffep+127
clog10 0x1.fffffep+127 1.0
clog10 0x1p-149 0x1p-149
Loading

0 comments on commit b3c66c5

Please sign in to comment.