2 ms·
Depending on how many numbers you process, inefficiency might not matter. You could probably use arbitrary precision rational numbers (eg as implemented in Pyt
by eru 2y ago
Depending on how many numbers you process, inefficiency might not matter.
You could probably use arbitrary precision rational numbers (eg as implemented in Python https://docs.python.org/3/library/fractions.html https://docs.python.org/3/library/fractions.html) for all your accounting needs, and it would still be fast enough.
- mgaunard 2y agoThere are millions of financial instruments and their price change 100 million times per day. That's a lot to process, so yes, it matters.
- eru 2y agoYes, it depends on what you do. If you want to do financial pricing of lots of instruments, performance is important. If you want to do the accounting for one company (that is not trading in millions of financial instruments but, say, is building and selling widgets), you have far fewer numbers on your books.