about summary refs log tree commit diff
path: root/src/math/asinhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/asinhl.c')
-rw-r--r--src/math/asinhl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/math/asinhl.c b/src/math/asinhl.c
index 3ea88745..e5f31751 100644
--- a/src/math/asinhl.c
+++ b/src/math/asinhl.c
@@ -9,10 +9,7 @@ long double asinhl(long double x)
 /* asinh(x) = sign(x)*log(|x|+sqrt(x*x+1)) ~= x - x^3/6 + o(x^5) */
 long double asinhl(long double x)
 {
-	union {
-		long double f;
-		struct{uint64_t m; uint16_t se; uint16_t pad;} i;
-	} u = {.f = x};
+	union ldshape u = {x};
 	unsigned e = u.i.se & 0x7fff;
 	unsigned s = u.i.se >> 15;