[PATCH] PR11706, optimize std::pow(T, int)
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jan 12 16:54:00 GMT 2005
Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> writes:
| The __builtin_pow variants handle constant integer exponents specially
| - they only do not dispatch to special integer versions for non-constant
| exponents.
That is a flow. If I recall correctly, the idea is to have the
compiler handle integer powers too, be they constant or not.
-- Gaby
More information about the Libstdc++
mailing list