This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]