pow function working unexpectedly
Svein Halvor Halvorsen
svein.h at lvor.halvorsen.cc
Tue Apr 11 23:24:57 UTC 2006
On 4/12/06, Jonathan Herriott <herriojr at gmail.com> wrote:
> Question then. Why would it work when I don't use variables if I
> don't include the library? This question is just out of curiosity.
Since you use only hard coded operands, the result is given, and gcc
optimizes such arithmetics and function calls away.
Svein Halvor
More information about the freebsd-questions
mailing list