This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]