• ferret
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    7 months ago

    Valve could trivially circumvent this limitation by using a multi-precision library such as MPFR

    • Illecors@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      See, that’s a common mistake - MPFR library is a C library for multiple-precision floating-point computations with correct rounding. Valve is, unfortunately, still stuck to integers. Their floating point appears to be functioning correctly as they’ve managed to avoid kernel panic releasing hl2e{1,2} - you can look at that as floats 2.1 and 2.2.