This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Mark builtin erf as an "odd" function
On Fri, 10 Nov 2006, [UTF-8] Václav Haisman wrote:
> Kaveh R. GHAZI wrote, On 10.11.2006 15:20:
> > I plan to add cosh (hyperbolic) to the "even" list in a followup patch.
> > Can anyone think of any other "even" or "odd" functions among the math
> > builtins we have, or is that it?
> What about abs and friends?
> Vaclav Haisman
True, abs/labs/llabs/fabs/fabsf/fabsl are all "even" functions. However I
thought that GCC folded all of these functions into ABS_EXPR before I'd
get to see them. Can you sugest a testcase where I would get
BUILT_IN_FABS et al. as opposed to ABS_EXPR?
Kaveh R. Ghazi firstname.lastname@example.org