In order to efficiently implement in the c++ run-time library the overloads of std::pow for integer (*) exponent mandated in 26.5, three additional builtins are badly needed, for float, double and long double base. For a discussion, see this thread:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02738.html See also libstdc++/11706. (*) But not necessarily constant! -- Summary: __builtin_powi? still missing Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de CC: gcc-bugs at gcc dot gnu dot org,gdr at integrable- solutions dot net,roger at eyesopen dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19402