std::log10() problem
std::log10() problem
- Subject: std::log10() problem
- From: Rolf Nilsson <email@hidden>
- Date: Wed, 29 Mar 2006 13:16:28 +0200
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)
Thanks,
Rolf
-------------------------
Date/Time: 2006-03-29 13:08:25 +0200
OS Version: 10.2.8 (Build 6R73)
Host: g4-dator.local.
Command: MyApp
PID: 637
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280
Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe106b4 in link_in_need_modules
#2 0x8fe102d0 in bind_lazy_symbol_reference
#3 0x8fe00ec0 in stub_binding_helper_interface
#4 0x000502f0 in 0x502f0
#5 0x000571d0 in 0x571d0
#6 0x000195dc in 0x195dc
#7 0x00095034 in 0x95034
#8 0x00008414 in 0x8414
#9 0x000082bc in 0x82bc
PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0002d030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe09c38 ctr: 0x8fe29468 mq: 0x00000000
r0: 0x00000004 r1: 0xbffff9b0 r2: 0x61634f53 r3: 0x00000147
r4: 0x00000000 r5: 0x00000147 r6: 0x0000000a r7: 0x2e64796c
r8: 0x2f6c6962 r9: 0x00000000 r10: 0x702f436f r11: 0x0000001a
r12: 0x8fe71b6e r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000800 r23: 0x0111b4a0
r24: 0x00000000 r25: 0x001151f4 r26: 0x00152eac r27: 0x00158283
r28: 0x8fe4841c r29: 0x8fe484ec r30: 0x8fe484ec r31: 0x8fe099bc
_______________________________________________
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