]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/fpu/e_sqrtf.c
PowerPC floating point little-endian [8 of 15]
[thirdparty/glibc.git] / sysdeps / powerpc / fpu / e_sqrtf.c
index 6e50a3cd75efb4a281ff6b29e07dcd40b95fbcfe..91d2d37d7b182f69a48c26770f07469084f81cdd 100644 (file)
@@ -121,7 +121,7 @@ __slow_ieee754_sqrtf (float x)
       feraiseexcept (FE_INVALID_SQRT);
 
       fenv_union_t u = { .fenv = fegetenv_register () };
-      if ((u.l[1] & FE_INVALID) == 0)
+      if ((u.l & FE_INVALID) == 0)
 #endif
        feraiseexcept (FE_INVALID);
       x = a_nan.value;