about summary refs log tree commit diff
path: root/src/math/log1pf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log1pf.c')
-rw-r--r--src/math/log1pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/log1pf.c b/src/math/log1pf.c
index c38e0bcb..e6940d29 100644
--- a/src/math/log1pf.c
+++ b/src/math/log1pf.c
@@ -61,7 +61,7 @@ float log1pf(float x)
 		return x+x;
 	if (k != 0) {
 		if (hx < 0x5a000000) {
-			STRICT_ASSIGN(float, u, 1.0f + x);
+			u = 1 + x;
 			GET_FLOAT_WORD(hu, u);
 			k = (hu>>23) - 127;
 			/* correction term */