remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / math / fabsl.c
index 711d908a535f0da6eeaeec1a47e3cb7b423d8a9e..c4f36ec2810ce50a7f7129800fbaf6f398139f5f 100644 (file)
@@ -9,7 +9,7 @@ long double fabsl(long double x)
 {
        union ldshape u = {x};
 
-       u.bits.sign = 0;
-       return u.value;
+       u.i.se &= 0x7fff;
+       return u.f;
 }
 #endif