5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /* @test
25 * @bug 7050528
26 * @summary Test java.text.DecimalFormat fast-path for format(double...)
27 * @author Olivier Lagneau
28 * @run main RoundingAndPropertyTest
29 *
30 */
31
32 /* -----------------------------------------------------------------------------
33 * Note :
34 * Since fast-path algorithm does not modify any feature of DecimalFormat,
35 * some tests or values in this program may have to be adapted/added/removed
36 * when any change has been done in the fast-path source code, because the
37 * conditions for exercising fast-path may change.
38 *
39 * This is specially true if the set of constraints to fall in the fast-path
40 * case is relaxed in any manner.
41 *
42 * Usage :
43 * - Run main without any argument to test against a set of golden values and
44 * associated results hard-coded in the source code. That will do the tests
45 * described below
|
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /* @test
25 * @bug 7050528 8008577
26 * @summary Test java.text.DecimalFormat fast-path for format(double...)
27 * @author Olivier Lagneau
28 * @run main RoundingAndPropertyTest
29 *
30 */
31
32 /* -----------------------------------------------------------------------------
33 * Note :
34 * Since fast-path algorithm does not modify any feature of DecimalFormat,
35 * some tests or values in this program may have to be adapted/added/removed
36 * when any change has been done in the fast-path source code, because the
37 * conditions for exercising fast-path may change.
38 *
39 * This is specially true if the set of constraints to fall in the fast-path
40 * case is relaxed in any manner.
41 *
42 * Usage :
43 * - Run main without any argument to test against a set of golden values and
44 * associated results hard-coded in the source code. That will do the tests
45 * described below
|