public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: GNU libc hacker <libc-hacker@sources.redhat.com>
Subject: One const for mathcalls.h
Date: Sun, 10 Nov 2002 07:28:00 -0000	[thread overview]
Message-ID: <u8znsh4f6j.fsf@gromit.moeb> (raw)


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

                 reply	other threads:[~2002-11-10 15:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8znsh4f6j.fsf@gromit.moeb \
    --to=aj@suse.de \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).