about summary refs log tree commit diff
path: root/math/s_csinhf.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-07-01 13:17:09 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-03 11:07:04 -0500
commitf2de695bf6ab3d346bf0ec4e436f124cff8edfd4 (patch)
tree323d3c3ad199eeb5d52511243b179d326b67a15b /math/s_csinhf.c
parentb9e05ed07a3d805f12effa6b86c41a9d9c13a1f1 (diff)
downloadglibc-f2de695bf6ab3d346bf0ec4e436f124cff8edfd4.tar.gz
glibc-f2de695bf6ab3d346bf0ec4e436f124cff8edfd4.tar.xz
glibc-f2de695bf6ab3d346bf0ec4e436f124cff8edfd4.zip
Unify drift between _Complex function type variants
While trying to convert the _Complex function wrappers
into a single generic implementation, a few minor
variations between identical versions emerged.
Diffstat (limited to 'math/s_csinhf.c')
-rw-r--r--math/s_csinhf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/math/s_csinhf.c b/math/s_csinhf.c
index a0458cfd0a..36b42ca465 100644
--- a/math/s_csinhf.c
+++ b/math/s_csinhf.c
@@ -111,7 +111,7 @@ __csinhf (__complex__ float x)
 	    }
 	}
     }
-  else if (__glibc_likely (rcls == FP_INFINITE))
+  else if (rcls == FP_INFINITE)
     {
       /* Real part is infinite.  */
       if (__glibc_likely (icls > FP_ZERO))
@@ -147,10 +147,8 @@ __csinhf (__complex__ float x)
 	  __real__ retval = HUGE_VALF;
 	  __imag__ retval = __nanf ("") + __nanf ("");
 
-#ifdef FE_INVALID
 	  if (icls == FP_INFINITE)
 	    feraiseexcept (FE_INVALID);
-#endif
 	}
     }
   else