test/java/math/BigDecimal/FloatDoubleValueTests.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,31 **** * questions. */ /* * @test ! * @bug 6274390 * @summary Verify {float, double}Value methods work with condensed representation * @run main FloatDoubleValueTests * @run main/othervm -XX:+AggressiveOpts FloatDoubleValueTests */ import java.math.*; --- 21,31 ---- * questions. */ /* * @test ! * @bug 6274390 7082971 * @summary Verify {float, double}Value methods work with condensed representation * @run main FloatDoubleValueTests * @run main/othervm -XX:+AggressiveOpts FloatDoubleValueTests */ import java.math.*;
*** 77,86 **** --- 77,87 ---- // Test integral values that will convert exactly to both float // and double. static void testFloatDoubleValue() { long longValues[] = { + Long.MIN_VALUE, // -2^63 0, 1, 2, two2the24-1,