[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] use boost::math:expm1() and log1p()
From: |
Vaclav Slavik |
Subject: |
Re: [lmi] use boost::math:expm1() and log1p() |
Date: |
Mon, 06 Apr 2009 08:38:33 +0200 |
On Mon, 2009-04-06 at 01:15 +0000, Greg Chicares wrote:
> I had assumed that 'expm1.c' would be used on any x86 system,
> but of course that was an incorrect assumption.
I made the opposite assumption, I assumed it wouldn't be used on any
system we care about (i.e. primarily MinGW version installed by
install_msw.sh and secondarily any decent Linux distribution).
As far as I can tell from reading install_mingw.make, config.hpp and
config_ming323.hpp, that's indeed the case: LMI_COMPILER_PROVIDES_EXPM1L
and LMI_COMPILER_PROVIDES_LOG1PL are defined for mingw-runtime versions
>= 3.8 (install_mingw.make uses 3.11) and gcc >= 3.2.3
(install_mingw.make uses 3.4.5). Looking at MinGW-compiled expm1.o
confirms this:
$ nm expm1.o
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_str
00000000 t .text
$
Regards,
Vaclav