Log10Tests.java revision 809
880N/A * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. 880N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 880N/A * This code is free software; you can redistribute it and/or modify it 880N/A * under the terms of the GNU General Public License version 2 only, as 880N/A * published by the Free Software Foundation. 880N/A * This code is distributed in the hope that it will be useful, but WITHOUT 880N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 880N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 880N/A * version 2 for more details (a copy is included in the LICENSE file that 880N/A * accompanied this code). 880N/A * You should have received a copy of the GNU General Public License version 880N/A * 2 along with this work; if not, write to the Free Software Foundation, 880N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 880N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 880N/A * CA 95054 USA or visit www.sun.com if you need additional information or 880N/A * @summary Tests for StrictMath.log10 880N/A * @author Joseph D. Darcy 880N/A * hold for any log10 implementation, including the FDLIBM-based one 880N/A * required for StrictMath.log10. Therefore, the test cases in 880N/A * StrictMath versions of log10. The role of this test is to verify 880N/A * that the FDLIBM log10 algorithm is being used by running golden 880N/A * file tests on values that may vary from one conforming log10 880N/A * implementation to another. {
0x1.
3fffffffffd52p-
295, -
0x1.
62d3e7bd9a406p6},
{
0x1.
4p-
292, -
0x1.
5f37241e7c595p6},
{
0x1.
3ffffffffff84p-
283, -
0x1.
5460d94122a4cp6},
{
0x1.
4p-
283, -
0x1.
5460d94122a4bp6},
{
0x1.
3fffffffff9c4p-
281, -
0x1.
51f856d70eb6p6},
{
0x1.
4p-
281, -
0x1.
51f856d70eb57p6},
{
0x1.
3fffffffffedp-
277, -
0x1.
4d275202e6d7p6},
{
0x1.
4p-
277, -
0x1.
4d275202e6d6fp6},
{
0x1.
3ffffffffe2c7p-
268, -
0x1.
425107258d24dp6},
{
0x1.
3fffffffffed7p-
268, -
0x1.
425107258d226p6},
{
0x1.
4p-
268, -
0x1.
425107258d225p6},
{
0x1.
3fffffffffedap-
264, -
0x1.
3d8002516543ep6},
{
0x1.
4p-
264, -
0x1.
3d8002516543dp6},
{
0x1.
3fffffffffd71p-
254, -
0x1.
3175763f0197cp6},
{
0x1.
4p-
254, -
0x1.
3175763f01979p6},
{
0x1.
3fffffffff588p-
253, -
0x1.
30413509f7a0ep6},
{
0x1.
4p-
253, -
0x1.
30413509f79ffp6},
{
0x1.
3fffffffff9e3p-
240, -
0x1.
2099e558760d6p6},
{
0x1.
4p-
240, -
0x1.
2099e558760cdp6},
{
0x1.
3fffffffffd7dp-
238, -
0x1.
1e3162ee621dcp6},
{
0x1.
3fffffffff932p-
230, -
0x1.
148f594612612p6},
{
0x1.
4p-
230, -
0x1.
148f594612609p6},
{
0x1.
3fffffffffef8p-
224, -
0x1.
0d55d207d692ep6},
{
0x1.
4p-
224, -
0x1.
0d55d207d692dp6},
{
0x1.
3fffffffffd8dp-
217, -
0x1.
04e8099490cdap6},
{
0x1.
4p-
217, -
0x1.
04e8099490cd7p6},
{
0x1.
4p-
172, -
0x1.
9d712683a08cbp5},
{
0x1.
3fffffffffd27p-
169, -
0x1.
96379f4564bf6p5},
{
0x1.
4p-
169, -
0x1.
96379f4564befp5},
{
0x1.
3fffffffffe9fp-
159, -
0x1.
7e2287209d66ap5},
{
0x1.
4p-
159, -
0x1.
7e2287209d667p5},
{
0x1.
3fffffffff099p-
157, -
0x1.
7951824c758aap5},
{
0x1.
3ffffffffff59p-
157, -
0x1.
7951824c7588p5},
{
0x1.
3fffffffffd31p-
156, -
0x1.
76e8ffe261992p5},
{
0x1.
3fffffffffdeap-
155, -
0x1.
74807d784da9cp5},
{
0x1.
4p-
155, -
0x1.
74807d784da97p5},
{
0x1.
3fffffffffbc5p-
150, -
0x1.
6875f165e9fdfp5},
{
0x1.
3fffffffffea6p-
150, -
0x1.
6875f165e9fd6p5},
{
0x1.
4p-
150, -
0x1.
6875f165e9fd3p5},
{
0x1.
3ffffffffff5fp-
149, -
0x1.
660d6efbd60ep5},
{
0x1.
3ffffffffffc2p-
140, -
0x1.
5060d94122a4cp5},
{
0x1.
4p-
140, -
0x1.
5060d94122a4bp5},
{
0x1.
3fffffffffdf6p-
139, -
0x1.
4df856d70eb5cp5},
{
0x1.
4p-
139, -
0x1.
4df856d70eb57p5},
{
0x1.
3ffffffffff68p-
137, -
0x1.
49275202e6d7p5},
{
0x1.
4p-
137, -
0x1.
49275202e6d6fp5},
{
0x1.
3fffffffffdf9p-
135, -
0x1.
44564d2ebef8cp5},
{
0x1.
3ffffffffff6bp-
133, -
0x1.
3f85485a971ap5},
{
0x1.
3fffffffffdffp-
127, -
0x1.
311239de1f7ecp5},
{
0x1.
3fffffffffd4ap-
123, -
0x1.
27703035cfc1ep5},
{
0x1.
4p-
123, -
0x1.
27703035cfc17p5},
{
0x1.
3ffffffffff77p-
117, -
0x1.
18fd21b95826p5},
{
0x1.
3ffffffffffd4p-
116, -
0x1.
16949f4f4436bp5},
{
0x1.
4p-
116, -
0x1.
16949f4f4436bp5},
{
0x1.
4p-
110, -
0x1.
082190d2cc9b3p5},
{
0x1.
3ffffffffde65p-
107, -
0x1.
00e8099490d35p5},
{
0x1.
3fffffffffe0ep-
107, -
0x1.
00e8099490cdcp5},
{
0x1.
4p-
107, -
0x1.
00e8099490cd7p5},
{
0x1.
3ffffffffff7ap-
83, -
0x1.
8e379f4564bf2p4},
{
0x1.
3fffffffffe95p-
81, -
0x1.
8495959d15026p4},
{
0x1.
3fffffffffe3bp-
78, -
0x1.
762287209d67p4},
{
0x1.
3ffffffffffb3p-
68, -
0x1.
45f856d70eb58p4},
{
0x1.
3ffffffffffb4p-
67, -
0x1.
41275202e6d7p4},
{
0x1.
3fffffffffd5fp-
65, -
0x1.
3785485a971aep4},
{
0x1.
3fffffffffdecp-
61, -
0x1.
24413509f7a0ap4},
{
0x1.
3ffffffffff5dp-
60, -
0x1.
1f703035cfc1ap4},
{
0x1.
3ffffffffff03p-
57, -
0x1.
10fd21b958264p4},
{
0x1.
3fffffffff23fp-
40, -
0x1.
7e379f4564c87p3},
{
0x1.
3ffffffffffbdp-
40, -
0x1.
7e379f4564bf2p3},
{
0x1.
3fffffffffe36p-
39, -
0x1.
7495959d15032p3},
{
0x1.
3ffffffffffd6p-
37, -
0x1.
6151824c7588p3},
{
0x1.
3ffffffffffdap-
32, -
0x1.
31275202e6d7p3},
{
0x1.
3ffffffffffaep-
29, -
0x1.
14413509f7a02p3},
{
0x1.
3fffffffff32fp-
27, -
0x1.
00fd21b9582edp3},
{
0x1.
3ffffffffe6e9p-
18, -
0x1.
5495959d1524dp2},
{
0x1.
3fffffffffff6p-
18, -
0x1.
5495959d1502p2},
{
0x1.
3fffffffff481p-
14, -
0x1.
0785485a9729fp2},
{
0x1.
3fffffffffff9p-
14, -
0x1.
0785485a971ap2},
{
0x1.
3fffffffffff3p-
10, -
0x1.
74e9f6303264p1},
{
0x1.
3fffffffffc83p4,
0x1.
4d104d427dd4ap0},
{
0x1.
3fffffffffff1p4,
0x1.
4d104d427de7ap0},
{
0x1.
4p4,
0x1.
4d104d427de8p0},
{
0x1.
3ffffffffffe4p19,
0x1.
74413509f79fcp2},
{
0x1.
4p19,
0x1.
74413509f79ffp2},