test/java/lang/Math/Log10Tests.java

Print this page

        

*** 23,37 **** /* * @test * @bug 4074599 4939441 * @summary Tests for {Math, StrictMath}.log10 * @author Joseph D. Darcy */ - import sun.misc.DoubleConsts; - public class Log10Tests { private Log10Tests(){} static final double infinityD = Double.POSITIVE_INFINITY; static final double NaNd = Double.NaN; --- 23,38 ---- /* * @test * @bug 4074599 4939441 * @summary Tests for {Math, StrictMath}.log10 + * @library /lib/testlibrary + * @build jdk.testlibrary.DoubleUtils jdk.testlibrary.FloatUtils + * @run main Log10Tests * @author Joseph D. Darcy */ public class Log10Tests { private Log10Tests(){} static final double infinityD = Double.POSITIVE_INFINITY; static final double NaNd = Double.NaN;
*** 68,78 **** {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, {Double.NEGATIVE_INFINITY, NaNd}, {-8.0, NaNd}, {-1.0, NaNd}, ! {-DoubleConsts.MIN_NORMAL, NaNd}, {-Double.MIN_VALUE, NaNd}, {-0.0, -infinityD}, {+0.0, -infinityD}, {+1.0, 0.0}, {Double.POSITIVE_INFINITY, infinityD}, --- 69,79 ---- {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, {Double.NEGATIVE_INFINITY, NaNd}, {-8.0, NaNd}, {-1.0, NaNd}, ! {-Double.MIN_NORMAL, NaNd}, {-Double.MIN_VALUE, NaNd}, {-0.0, -infinityD}, {+0.0, -infinityD}, {+1.0, 0.0}, {Double.POSITIVE_INFINITY, infinityD},