[Wasm] fdlibm NFC: Remove dead code in expm1
Fixes warning that value of y is never used before it is read. Removed dead code is not present in FreeBSD codebase since at least 1994 https://github.com/freebsd/freebsd-src/blame/34ac629b40e68e5394fe0a27e47c73a875d9f8cb/lib/msun/src/s_expm1.c#L141
This commit is contained in:
@@ -139,7 +139,6 @@ internal fun expm1(_x: Double): Double {
|
||||
|
||||
hx = __HIu(x) /* high word of x */
|
||||
xsb = (hx and Int.MIN_VALUE.toUInt()).toInt() /* sign bit of x */
|
||||
if (xsb == 0) y = x; else y = -x /* y = |x| */
|
||||
hx = (hx and 0x7fffffffU) /* high word of |x| */
|
||||
|
||||
/* filter out huge and non-finite argument */
|
||||
|
||||
Reference in New Issue
Block a user