]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/ieee754/soft-fp/s_faddl.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / ieee754 / soft-fp / s_faddl.c
index 42c4422060b69057e79994f1ec7d6e4a2b6ed231..1a7b3b2663806fe4f40e4df0c303ecad946aee37 100644 (file)
@@ -1,6 +1,6 @@
 /* Add long double (ldbl-128) values, narrowing the result to float,
    using soft-fp.
-   Copyright (C) 2018 Free Software Foundation, Inc.
+   Copyright (C) 2018-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #define f32addf64x __hide_f32addf64x
 #define f32addf128 __hide_f32addf128
@@ -42,7 +42,7 @@ __faddl (_Float128 x, _Float128 y)
   FP_UNPACK_SEMIRAW_Q (X, x);
   FP_UNPACK_SEMIRAW_Q (Y, y);
   FP_ADD_Q (R, X, Y);
-#if (2 * _FP_W_TYPE_SIZE) < _FP_FRACBITS_Q
+#if _FP_W_TYPE_SIZE < 64
   FP_TRUNC (S, Q, 1, 4, RN, R);
 #else
   FP_TRUNC (S, Q, 1, 2, RN, R);