8331108: Unused Math.abs call in java.lang.FdLibm.Expm1#compute

Reviewed-by: naoto, bpb, rgiulietti
This commit is contained in:
Joe Darcy 2024-04-28 22:55:44 +00:00
parent 16c7dcdb04
commit 4e5c25ee43

View file

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 hx = __HI(x); // high word of x
xsb = hx & SIGN_BIT; // sign bit of x xsb = hx & SIGN_BIT; // sign bit of x
y = Math.abs(x);
hx &= EXP_SIGNIF_BITS; // high word of |x| hx &= EXP_SIGNIF_BITS; // high word of |x|
// filter out huge and non-finite argument // filter out huge and non-finite argument