-
Enhancement
-
Resolution: Fixed
-
P5
-
23
IntelliJ IDEA highlights that initial assignment of 'y' is unnecessary.
y = Math.abs(x);
https://github.com/openjdk/jdk/blob/c9f8d0eff706d9ac59179afbb821367da09c9aae/src/java.base/share/classes/java/lang/FdLibm.java#L3008
After removing assignment code is still compiles. So it seems unnecessary.
y = Math.abs(x);
https://github.com/openjdk/jdk/blob/c9f8d0eff706d9ac59179afbb821367da09c9aae/src/java.base/share/classes/java/lang/FdLibm.java#L3008
After removing assignment code is still compiles. So it seems unnecessary.
- relates to
-
JDK-8301396 Port fdlibm expm1 to Java
- Resolved
- links to
-
Commit openjdk/jdk/4e5c25ee
-
Review(master) openjdk/jdk/18963