[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] use boost::math:expm1() and log1p()
From: |
Greg Chicares |
Subject: |
Re: [lmi] use boost::math:expm1() and log1p() |
Date: |
Mon, 06 Apr 2009 01:15:59 +0000 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
On 2009-04-05 21:48Z, Vaclav Slavik wrote:
> On Sun, 2009-04-05 at 21:04 +0000, Greg Chicares wrote:
[...]
>> Could I ask what compiler (and version) you're using? I get:
>
> These results were with gcc 4.2.4 with (this is the more relevant part,
> I think) glibc 2.8_p20080602 on x86_64 Linux system.
Okay, that explains this:
>> Might your compiler treat pow() as an intrinsic? I kind of wonder how
>> anything could be faster than the 'expm1.c' implementation,
>
> Sorry, implementation of what? As far as I can tell, neither expm1l()
> nor log1pl() from expm1.c are used on my system, because glibc provides
> both.
I had assumed that 'expm1.c' would be used on any x86 system,
but of course that was an incorrect assumption.