aboutsummaryrefslogtreecommitdiff
path: root/math/bits/mathcalls.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-27 02:20:12 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-27 02:20:12 +0000
commitf4efd06825ba5fec62662be611d94335eff4f8f7 (patch)
tree213507c7d4adbab716e9e013101bcc32738e6eed /math/bits/mathcalls.h
parent05957bbd9027ee879c141fecb28cd7813ffdb466 (diff)
downloadglibc-f4efd06825ba5fec62662be611d94335eff4f8f7.zip
glibc-f4efd06825ba5fec62662be611d94335eff4f8f7.tar.gz
glibc-f4efd06825ba5fec62662be611d94335eff4f8f7.tar.bz2
Update.
2001-11-26 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings are found call conv_error and not input_error [PR libc/2669]. * math/bits/mathcalls.h: Mark ceil and floor as const. Reported by David Mosberger. 2001-11-21 Jim Meyering <meyering@lucent.com> * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: Define to be __-prefixed. Remove unnecessary duplication in `#ifdef _LIBC' blocks.
Diffstat (limited to 'math/bits/mathcalls.h')
-rw-r--r--math/bits/mathcalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index c1181f7..12fcfce 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -159,13 +159,13 @@ __MATHCALL (cbrt,, (_Mdouble_ __x));
/* Nearest integer, absolute value, and remainder functions. */
/* Smallest integral value not less than X. */
-__MATHCALL (ceil,, (_Mdouble_ __x));
+__MATHCALLX (ceil,, (_Mdouble_ __x), (__const__));
/* Absolute value of X. */
__MATHCALLX (fabs,, (_Mdouble_ __x), (__const__));
/* Largest integer not greater than X. */
-__MATHCALL (floor,, (_Mdouble_ __x));
+__MATHCALLX (floor,, (_Mdouble_ __x), (__const__));
/* Floating-point modulo remainder of X/Y. */
__MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y));