Re: [q-lang-users] q 7.11 tests fail on Mac OS X
Brought to you by:
agraef
From: Ryan S. <rya...@us...> - 2008-06-10 01:01:29
|
"It's not you, it's me." On Jun 8, 2008, at 07:37, Albert Graef wrote: > Ryan Schmidt wrote: > >> I just ran the test suite on Mac OS X 10.4.11 Intel... It's not >> passing for me... Am I doing something wrong? > > > Is that a 64 bit machine? Yes: That was a MacBookPro3,1 with a 2.2-GHz Core 2 Duo and Mac OS X 10.4.11. > Maybe the compiler generates 64 bit code by default? That should not be the case. I'm under the impression you have to use "-arch x86_64" in the LDFLAGS/CFLAGS to get 64-bit Intel code generated. > Otherwise it's supposed to work. I also tried on a MacBookPro2,2 with a 2.16-GHz Core 2 Duo and Mac OS X 10.5.3. All tests passed. I rebooted that machine into Mac OS X 10.4.11 and tried again, and all tests still passed. I also tried on a PowerMac3,4 with a 466-MHz PowerPC G4 and Mac OS X 10.4.11, and all tests passed. I rebooted the 2.2-GHz problem Mac to Mac OS X 10.5.3 and all tests passed there too. So apparently I have a problem with my 10.4.11 installation on my 2.2-GHz Mac. I think I'll go away now and see if I can solve that. I would love to know how the arithmetic test (or maybe q in general) does its math though. I can't get any other app to tell me that 2 * 2 == 4.4501477170164897e-308, and finding out how it's computing that might help me isolate what's wrong with my computer. |