News for hackers. Stuff that matters.
Re:An oral history of Bank Python by Chris2048 on Thursday November 04, 2021 @09:56AM (#29107233)
Can cause issues if you are accounting for things, e.g.

"The sum of these values need to equal the sum of these values"

In that case you'd then needs to avoid

"sum_a == sum_b"

and use instead

"abs(sum_a - sum_b) < SOME_SMALL_VALUE"

Re:An oral history of Bank Python by carnitine on Thursday November 04, 2021 @12:49PM (#29109483)
You don’t do that though, there’s no use case to account with the output of a model.
Re:An oral history of Bank Python by Chris2048 on Thursday November 04, 2021 @02:30PM (#29110834)
I'm not sure what you mean - aside from speculative pricing models there are regulatory constraints too, that are a part of the same codebase.

Not to mention that there is a use case for auditing pricing models (as in external requirement, or internally) or comparing alternative models.

Re:An oral history of Bank Python by chewbaxxa on Thursday November 04, 2021 @04:28PM (#29112180)
Sure we add up the numbers, but there are thresholds for everything anyway. We might not be concerned about something within a 1MM range let alone a floating point inaccuracy. The uncertainty is accounted for already.