------- Comment #2 from vincenzo dot innocente at cern dot ch 2010-09-05 13:09 ------- Subject: Re: std::pow(float) converts to double when compiled with -std=gnu++0x
Ciao Paolo, On 5 Sep, 2010, at 2:42 PM, paolo dot carlini at oracle dot com wrote: > > > ------- Comment #1 from paolo dot carlini at oracle dot com 2010-09-05 12:42 > ------- > There is nothing to fix here, see: > > http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#550 > > 1) this is VERY unfortunate 2) and then why std::exp(float) invokes expf? (a well as all other transcendental and trigonometric functions that invoke xyzf) also std::sqrt converts to sqrtss ? is this not a bit inconsistent? vincenzo > -- > > paolo dot carlini at oracle dot com changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |INVALID > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45542 > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45542