diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/bits/mathcalls.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index 66832c7827..94690c3b42 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -373,13 +373,14 @@ __MATHDECL_1 (int, canonicalize,, (_Mdouble_ *__cx, const _Mdouble_ *__x)); #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN /* Total order operation. */ -__MATHDECL_1 (int, totalorder,, (const _Mdouble_ *__x, const _Mdouble_ *__y)) - __attribute__ ((__const__)); +__MATHDECL_1 (int, totalorder,, (const _Mdouble_ *__x, + const _Mdouble_ *__y)) + __attribute__ ((__pure__)); /* Total order operation on absolute values. */ __MATHDECL_1 (int, totalordermag,, (const _Mdouble_ *__x, const _Mdouble_ *__y)) - __attribute__ ((__const__)); + __attribute__ ((__pure__)); /* Get NaN payload. */ __MATHCALL (getpayload,, (const _Mdouble_ *__x)); |