mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8331108: Unused Math.abs call in java.lang.FdLibm.Expm1#compute
Reviewed-by: naoto, bpb, rgiulietti
This commit is contained in:
parent
16c7dcdb04
commit
4e5c25ee43
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2024, 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
|
||||
|
@ -3005,7 +3005,6 @@ final class FdLibm {
|
|||
|
||||
hx = __HI(x); // high word of x
|
||||
xsb = hx & SIGN_BIT; // sign bit of x
|
||||
y = Math.abs(x);
|
||||
hx &= EXP_SIGNIF_BITS; // high word of |x|
|
||||
|
||||
// filter out huge and non-finite argument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue