5 ms·
Somebody is wrong on the Internet today. Very wrong.
by stevoski 4y ago
Somebody is wrong on the Internet today. Very wrong.
- Kon-Peki 4y agoIf I want to know the monthly payment on a $500,000 mortgage for 30 years at 6%, should I use: 1. Decimal math 2. Binary floating point math 3. Domain knowledge trumps all; it makes no difference
- gibspaulding 4y agoThen of course you'll have to work back to compute an APR for that by a crazy iterative formula outlined by the US gov. Which would you use for that process?
- meese712 4y agoirr? The library we use uses doubles https://github.com/eric-malachias/irr https://github.com/eric-malachias/irr. We also use doubles for the amortization table and doubles for everything.
- meese712 4y agoOh hey I work in mortgage! We use plain old doubles for everything and there's some rounds in there and occasionally an exotic round to the nearest 1/8th. Everything ends up matching fine where it needs to.