This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II
- From: Richard Henderson <rth at redhat dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Nov 2002 15:47:59 -0800
- Subject: Re: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II
- References: <20021106230639.GM22215@redhat.com> <EB5E71A0-F1DF-11D6-B269-000393D76DAA@apple.com>
On Wed, Nov 06, 2002 at 03:31:48PM -0800, Dale Johannesen wrote:
> This is what C90 says:
>
> floor[lf] ceil[lf] are reserved:
>
> "The names of [floor and ceil], suffixed with f or l, are reserved
> respectively for corresponding functions with float and long double
> arguments and return values."
>
> But implementing such functions is not required. I'd read this to
> say you can implement them if you want to.
What it means is that we can't make __builtin_floorf call
floorf if the backend doesn't implement the pattern though.
I think.
r~