summary refs log tree commit diff
path: root/math/k_casinhf.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-03-19 22:38:25 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-03-19 22:38:25 +0000
commit6b18bea6256e1eefebd27811873831d0e3f171de (patch)
treec951ab143e3fc3be508680b076340611fd867b1f /math/k_casinhf.c
parent63270c24c520c53193b2fd07104ad30039914058 (diff)
downloadglibc-6b18bea6256e1eefebd27811873831d0e3f171de.tar.gz
glibc-6b18bea6256e1eefebd27811873831d0e3f171de.tar.xz
glibc-6b18bea6256e1eefebd27811873831d0e3f171de.zip
Fix types of constants in k_casinh*.c.
Diffstat (limited to 'math/k_casinhf.c')
-rw-r--r--math/k_casinhf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/k_casinhf.c b/math/k_casinhf.c
index 3152ea2f7d..7ff4b03a1c 100644
--- a/math/k_casinhf.c
+++ b/math/k_casinhf.c
@@ -79,8 +79,8 @@ __kernel_casinhf (__complex__ float x, int adj)
     }
   else
     {
-      __real__ y = (rx - ix) * (rx + ix) + 1.0;
-      __imag__ y = 2.0 * rx * ix;
+      __real__ y = (rx - ix) * (rx + ix) + 1.0f;
+      __imag__ y = 2.0f * rx * ix;
 
       y = __csqrtf (y);