News for hackers. Stuff that matters.
Re:Positions, Profit and Loss by bidirectional on Sunday August 01, 2021 @02:38PM (#28028722)
Floating point is fine for monetary values where you are not performing accounting calculations. Most front-office finance applications work just fine using floating point, there's not much point trying to calculate compound interest, price an option or bootstrap a yield curve using anything but floating point.
Re:Positions, Profit and Loss by is0tope on Sunday August 01, 2021 @02:43PM (#28028766)
Correct perhaps I should have been clearer as monetary values that are auditable, and need to add up.