__builtin_cpow((0,0),(0,0))
Vincent Lefevre
vincent+gcc@vinc17.org
Sun Mar 13 13:01:00 GMT 2005
On 2005-03-10 18:05:24 +0100, Paolo Carlini wrote:
> Vincent Lefevre wrote:
> >BTW, couldn't it be used when compiling C programs too?
> >Is there anything planned?
> >
> Can be used as any other __builtin_*: just call it ;)
But this wouldn't be portable. I mean:
double x, y;
...
y = pow(x, 6.0);
...
in some standard C program. Could/does gcc 4.0 generate special code,
taking into account the fact that 6.0 is a small integer?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
More information about the Gcc
mailing list