Here's a challenge for floating point lovers.
Walter Bright
bright at nazgul.UUCP
Wed Feb 13 08:47:18 AEST 1991
In article <2929 at cirrusl.UUCP> dhesi%cirrusl at oliveb.ATC.olivetti.com (Rahul Dhesi) writes:
/On the contrary, my opinion is that businesspeople don't understand
/arithmetic. Life for all of us would be so much simpler if all
/business calculations assumed some reasonable fuzz value and stopped
/worrying about lost or gained pennies.
I disagree. Think about a bank calculating interest on all its 5.25% checking
accounts. A penny here, a penny there, after many thousands of transactions
this adds up to real money. There has been more than one bank fraud where
a programmer stole money by having partial pennies credited to his personal
account...
More information about the Comp.lang.c
mailing list