mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8244146: javac changes for JEP 306
8266399: Core libs update for JEP 306 Reviewed-by: sadayapalam, bpb, naoto
This commit is contained in:
parent
c2c0208dfd
commit
0ae4ceb413
28 changed files with 578 additions and 56 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2021, 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
|
||||
|
@ -120,7 +120,7 @@ class FdLibm {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static strictfp double compute(double x) {
|
||||
public static double compute(double x) {
|
||||
double t = 0.0;
|
||||
double sign;
|
||||
|
||||
|
@ -203,7 +203,7 @@ class FdLibm {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static strictfp double compute(double x, double y) {
|
||||
public static double compute(double x, double y) {
|
||||
double a = Math.abs(x);
|
||||
double b = Math.abs(y);
|
||||
|
||||
|
@ -343,7 +343,7 @@ class FdLibm {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static strictfp double compute(final double x, final double y) {
|
||||
public static double compute(final double x, final double y) {
|
||||
double z;
|
||||
double r, s, t, u, v, w;
|
||||
int i, j, k, n;
|
||||
|
@ -680,8 +680,7 @@ class FdLibm {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
// should be able to forgo strictfp due to controlled over/underflow
|
||||
public static strictfp double compute(double x) {
|
||||
public static double compute(double x) {
|
||||
double y;
|
||||
double hi = 0.0;
|
||||
double lo = 0.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue