nm test.o: (g++, cmath, exp, expf)

Reza Roboubi rezarob@gmail.com
Sun Sep 29 11:32:00 GMT 2013


On Sat, Sep 28, 2013 at 9:06 PM, Alan Modra <amodra@gmail.com> wrote:
> On Sat, Sep 28, 2013 at 01:43:17PM -0700, Reza Roboubi wrote:
>> >> When using g++, the cmath
>> >> exp(float)
>> >> exp(double)
>> >>
>> >> functions are supposed to resolve differently(based on the parameter
>> >> type.)
>
> What gives you that idea?  See
> http://www.cplusplus.com/reference/cmath/exp/
>
> --
> Alan Modra
> Australia Development Lab, IBM

Please be more specific.  That link(apparently) says what I said(you
must click the C++11 tab, and it's basically the same for C++98 too):
"
double exp (double x);
float exp (float x);
long double exp (long double x);
double exp (T x);           // additional overloads for integral types
"

Reza.



More information about the Binutils mailing list