mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8338694: x86_64 intrinsic for tanh using libm
Reviewed-by: kvn, jbhateja, sgibbons, sviswanathan
This commit is contained in:
parent
2669e22b76
commit
212e32931c
26 changed files with 980 additions and 10 deletions
|
@ -2737,6 +2737,7 @@ public final class Math {
|
|||
* @return The hyperbolic tangent of {@code x}.
|
||||
* @since 1.5
|
||||
*/
|
||||
@IntrinsicCandidate
|
||||
public static double tanh(double x) {
|
||||
return StrictMath.tanh(x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue