Re: std::log10() problem
Re: std::log10() problem
- Subject: Re: std::log10() problem
- From: "Roni Music" <email@hidden>
- Date: Wed, 29 Mar 2006 21:23:52 +0200
----- Original Message -----
From: "Clark Cox" <email@hidden>
To: "Rolf Nilsson" <email@hidden>
Cc: <email@hidden>
Sent: Wednesday, March 29, 2006 6:12 PM
Subject: Re: std::log10() problem
On 3/29/06, Rolf Nilsson <email@hidden> wrote:
Hi,
Why does this fail on OS X10.2.8 (app crashes at startup, crash log
below)
float fVal = std::log(float(8.0));
but this works:
double dVal = std::log(double(8.0));
Works as it should on OS X10.4.5 (Intel and PC)
On which OS did you build it, and if the answer is 10.4.x, then make
sure that you are using the 10.2.8 SDK for the ppc build.
I'm building on an Intel Mac OS X 10.4.5
using gcc 3.3 for the ppc build
was using 10.4u SDK which works OK for everything in my apps
except std::log10(a_float_value)
changing to 10.2.8 SDK makes it work
it also works OK with 10.3.9 SDK
but not with 10.4u SDK
why it behaves like this would be nice to know
Rolf
--
Clark S. Cox III
email@hidden
My CV/Resume:
http://homepage.mac.com/clarkcox3/files/Resume.pdf
http://homepage.mac.com/clarkcox3/files/Resume.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden