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: [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?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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