* One const for mathcalls.h
@ 2002-11-10 7:28 Andreas Jaeger
0 siblings, 0 replies; only message in thread
From: Andreas Jaeger @ 2002-11-10 7:28 UTC (permalink / raw)
To: GNU libc hacker
round is a const function, ok to commit the appended patch?
Andreas
2002-11-10 Andreas Jaeger <aj@suse.de>
* math/bits/mathcalls.h: Add const attribute for round.
============================================================
Index: math/bits/mathcalls.h
--- math/bits/mathcalls.h 28 Aug 2002 08:01:09 -0000 1.19
+++ math/bits/mathcalls.h 10 Nov 2002 15:27:22 -0000
@@ -307,7 +307,7 @@ __MATHCALL (nearbyint,, (_Mdouble_ __x))
/* Round X to nearest integral value, rounding halfway cases away from
zero. */
-__MATHCALL (round,, (_Mdouble_ __x));
+__MATHCALL (round,, (_Mdouble_ __x), (__const__));
/* Round X to the integral value in floating-point format nearest but
not larger in magnitude. */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-10 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-10 7:28 One const for mathcalls.h Andreas Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).