Float constants
Float constants
- Subject: Float constants
- From: Michael Vannorsdel <email@hidden>
- Date: Wed, 17 Mar 2010 16:14:38 -0600
I've been working on some 64bit code cleaning but need some advice on float constants. Currently on 32bit builds I use -fsingle-precision-constant since most of my code uses CGFloats and I'd like the constants to be the correct precision. But in some places I do work with doubles and would like the constants involved to be double on 32bit and not float getting promoted. I tried the L suffix on them but they still compile as floats. So is there a way to force a constant to be a double when using -fsingle-precision-constant?_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden