This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: nm test.o: (g++, cmath, exp, expf)
- From: Reza Roboubi <rezarob at gmail dot com>
- To: binutils at sourceware dot org, amodra at gmail dot com
- Date: Sun, 29 Sep 2013 04:32:55 -0700
- Subject: Re: nm test.o: (g++, cmath, exp, expf)
- Authentication-results: sourceware.org; auth=none
- References: <CAA51LV5hS8UJdpC4L0hFbEufhDOn9ejEGw2FgTTXu-VCEDiXHA at mail dot gmail dot com> <5245404B dot 7020309 at redhat dot com> <CAA51LV7otdzhJ8w-VKjBCXPVY5Otmd+Z_F2DivEgf2Zru7tQug at mail dot gmail dot com> <20130929040630 dot GA26564 at bubble dot grove dot modra dot org>
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.
- References:
- nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)
- Re: nm test.o: (g++, cmath, exp, expf)