Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b69cb1f238e9f05b9a3e60ac88a710a7bc62383a
      
https://github.com/WebKit/WebKit/commit/b69cb1f238e9f05b9a3e60ac88a710a7bc62383a
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-normalization-precision-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-normalization-precision.html
    M Source/WebCore/Modules/webaudio/IIRProcessor.cpp

  Log Message:
  -----------
  IIRProcessor normalization coefficient is narrowed to float
https://bugs.webkit.org/show_bug.cgi?id=317225
rdar://179847280

Reviewed by Chris Dumez.

"float scale = feedback[0]" narrows the double coefficient to single precision 
before it divides the
double-precision feedforward/feedback coefficients, reducing filter precision 
for any coefficient
set whose a[0] is not exactly representable as a float. Use a double.

Test: 
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-normalization-precision.html

* 
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-normalization-precision-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-normalization-precision.html:
 Added.
* Source/WebCore/Modules/webaudio/IIRProcessor.cpp:
(WebCore::IIRProcessor::IIRProcessor):

Canonical link: https://commits.webkit.org/315400@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to