[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X 10.6 current build
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Mac OS X 10.6 current build |
Date: |
Wed, 24 Mar 2010 00:38:55 -0500 |
On Wed, Mar 24, 2010 at 12:26 AM, Michael D Godfrey
<address@hidden> wrote:
> Assuming that CXXFLAGS must be zero, the only remaining test is
> (-O0 -O0 -O2). I doubt if this will work, but I will give it a try for
> completeness. This compiler seemed to be the best I could find,
> but evidently not really good enough.
You can try -O1 or -Os for CXXFLAGS, that seems to be sufficient
to get a correct answer from the test program (on x86_64 linux
though)
#include <iostream>
#include <complex>
#include <math.h>
typedef std::complex<double> Complex;
int main()
{
double inf = 1./0., nan = -0./0.;
Complex a(0,inf);
std::cout << a / 3.0 << '\n';
}
>
> Michael
>
Dmitri.
--
- Mac OS X 10.6 current build, Michael D. Godfrey, 2010/03/23
- Re: Mac OS X 10.6 current build, Ben Abbott, 2010/03/23
- Re: Mac OS X 10.6 current build, John W. Eaton, 2010/03/23
- Re: Mac OS X 10.6 current build, Ben Abbott, 2010/03/23
- Re: Mac OS X 10.6 current build, Michael D Godfrey, 2010/03/24
- Re: Mac OS X 10.6 current build,
Dmitri A. Sergatskov <=
- Re: Mac OS X 10.6 current build, Michael D Godfrey, 2010/03/24
- Re: Mac OS X 10.6 current build, Michael D Godfrey, 2010/03/24
- Re: Mac OS X 10.6 current build, John W. Eaton, 2010/03/24
- Re: Mac OS X 10.6 current build, Ben Abbott, 2010/03/25