> I mean there is only 1 digit after the decimal. It should not have the range > problem with a value this small.
Because you're translating from a decimal representation to a binary one, and back again. Consider a very simple case: 0.1. What sum of powers of two equals 0.1? (Hint, it's an infinite series, and thus not representable in any fixed number of binary digits.) -- Scott Ribe scott_r...@killerbytes.com http://www.killerbytes.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com