• a1studmuffin@aussie.zone
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 days ago

    Floating-Point Determinism | Random ASCII - tech blog of Bruce Dawson https://randomascii.wordpress.com/2013/07/16/floating-point-determinism/

    The short answer to your questions is no, but if you’re careful you can prevent indeterminism. I’ve personally ran into it encoding audio files using the Opus codec on AMD vs Intel processors (slightly different binary outputs for the exact same inputs). But if you’re able to control your dev environment from platform choice all the way down to the assembly instructions being used, you can prevent it.

    • randy@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      Thanks, that’s an excellent article, and it’s exactly what I was looking for.