[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
floor() does not work on Solaris 8 / GNUstep
From: |
Andreas Hoeschler |
Subject: |
floor() does not work on Solaris 8 / GNUstep |
Date: |
Mon, 17 Mar 2003 17:20:26 +0100 |
Hi all,
can anybody explain why
double mer = 12.23232;
int zahl = floor(mer);
NSLog(@"mer %f zahl %d", mer, zahl);
delivers the following output on my Solaris 8 / GNUstep box?
2003-03-17 17:16:21.502 GPSService[15870] mer 12.232320 zahl 1076393714
I would expect zahl = 12. At least this is what I get on MacOSX. What
am I missing?
Thanks,
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- floor() does not work on Solaris 8 / GNUstep,
Andreas Hoeschler <=