Skip to content
Snippets Groups Projects
  1. Jan 11, 2025
  2. Jan 09, 2025
  3. Jan 08, 2025
  4. Jan 03, 2025
  5. Dec 02, 2024
    • Martin Storsjö's avatar
      musl: Fix limiting the float precision in intermediates. · efadb82a
      Martin Storsjö authored and Michael Stefaniuc's avatar Michael Stefaniuc committed
      musl itself expects to be configured to compile with either
      -ffloat-store or -fexcess-precision=standard - but when imported
      into Wine, those flags aren't used.
      
      This seems to be essential for getting reasonable precision
      from some math functions such as exp2() - without the expected
      precision truncation, the output value of exp2() can be off by
      as much as 0.2% in some cases.
      
      As Wine doesn't build the musl sources with those flags, use
      volatile to force storing/reloading floats in order to limit
      their intermediate precision, as musl expects.
      
      Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56372
      (cherry picked from commit 3607eae6)
      efadb82a
  6. Nov 25, 2024
  7. Nov 24, 2024
Loading