about summary refs log tree commit diff
path: root/src/math/sinhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/sinhl.c')
-rw-r--r--src/math/sinhl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/math/sinhl.c b/src/math/sinhl.c
index 14e3371b..4864ddfa 100644
--- a/src/math/sinhl.c
+++ b/src/math/sinhl.c
@@ -8,10 +8,7 @@ long double sinhl(long double x)
 #elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 long double sinhl(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 ex = u.i.se & 0x7fff;
 	long double h, t, absx;