diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-06-29 17:06:02 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-06-29 17:06:02 +0200 |
commit | 5097cdf9b8a0f00142c566b7723709db8690e51a (patch) | |
tree | 7bd4ae0f736d4ebf26a86e65bf73df4c4c3e5e68 /libgfortran/libgfortran.h | |
parent | c022c0de2a6c9110350cd50275be97d061a19530 (diff) | |
download | gcc-5097cdf9b8a0f00142c566b7723709db8690e51a.zip gcc-5097cdf9b8a0f00142c566b7723709db8690e51a.tar.gz gcc-5097cdf9b8a0f00142c566b7723709db8690e51a.tar.bz2 |
libgfortran: Switch some more __float128 uses to _Float128
My patch apparently left some __float128 uses in libgfortran
that could use _Float128 instead, the following patch changes that.
2022-06-29 Jakub Jelinek <jakub@redhat.com>
* mk-kinds-h.sh: Change __float128 to _Float128 in a comment.
* acinclude.m4 (LIBGFOR_CHECK_MATH_IEEE128): Use _Float128 instead of
__float128.
* libgfortran.h (isnan): Change __float128 to _Float128 in a comment.
(__acoshieee128, __acosieee128, __asinhieee128, __asinieee128,
__atan2ieee128, __atanhieee128, __atanieee128, __copysignieee128,
__coshieee128, __cosieee128, __erfcieee128, __erfieee128,
__expieee128, __fabsieee128, __fmaieee128, __fmodieee128, __jnieee128,
__log10ieee128, __logieee128, __powieee128, __sinhieee128,
__sinieee128, __sqrtieee128, __tanhieee128, __tanieee128,
__ynieee128, __strtoieee128): Use _Float128 instead of __float128.
* configure: Regenerated.
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index c212245..0db3a35 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -247,7 +247,7 @@ extern int __mingw_snprintf (char *, size_t, const char *, ...) Another advantage for GCC's builtins for these type-generic macros is that it handles floating-point types that the system headers - may not support (like __float128). */ + may not support (like _Float128). */ #undef isnan #define isnan(x) __builtin_isnan(x) @@ -1960,59 +1960,59 @@ internal_proto(cshift1_16_c17); /* Prototypes for the POWER __ieee128 functions. */ #ifdef POWER_IEEE128 -extern __float128 __acoshieee128 (__float128) +extern _Float128 __acoshieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __acosieee128 (__float128) +extern _Float128 __acosieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __asinhieee128 (__float128) +extern _Float128 __asinhieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __asinieee128 (__float128) +extern _Float128 __asinieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __atan2ieee128 (__float128) +extern _Float128 __atan2ieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __atanhieee128 (__float128) +extern _Float128 __atanhieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __atanieee128 (__float128) +extern _Float128 __atanieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __copysignieee128 (__float128, __float128) +extern _Float128 __copysignieee128 (_Float128, _Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __coshieee128 (__float128) +extern _Float128 __coshieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __cosieee128 (__float128) +extern _Float128 __cosieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __erfcieee128 (__float128) +extern _Float128 __erfcieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __erfieee128 (__float128) +extern _Float128 __erfieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __expieee128 (__float128) +extern _Float128 __expieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __fabsieee128 (__float128) +extern _Float128 __fabsieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __fmaieee128 (__float128, __float128, __float128) +extern _Float128 __fmaieee128 (_Float128, _Float128, _Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __fmodieee128 (__float128, __float128) +extern _Float128 __fmodieee128 (_Float128, _Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __jnieee128 (int, __float128) +extern _Float128 __jnieee128 (int, _Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __log10ieee128 (__float128) +extern _Float128 __log10ieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __logieee128 (__float128) +extern _Float128 __logieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __powieee128 (__float128) +extern _Float128 __powieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __sinhieee128 (__float128) +extern _Float128 __sinhieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __sinieee128 (__float128) +extern _Float128 __sinieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __sqrtieee128 (__float128) +extern _Float128 __sqrtieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __tanhieee128 (__float128) +extern _Float128 __tanhieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __tanieee128 (__float128) +extern _Float128 __tanieee128 (_Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __ynieee128 (int , __float128) +extern _Float128 __ynieee128 (int , _Float128) __attribute__ ((__nothrow__, __leaf__)); -extern __float128 __strtoieee128 (const char *, char **) +extern _Float128 __strtoieee128 (const char *, char **) __attribute__ ((__nothrow__, __leaf__)); extern int __snprintfieee128 (char *, size_t, const char *, ...) __attribute__ ((__nothrow__)); |