- Mar 29, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
-
Jean-Marc Valin authored
-
- Mar 28, 2025
-
-
Jean-Marc Valin authored
-
- Mar 26, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
valgrind does not properly handle the Denormals-Are-Zero (DAZ) flag, which can be set by -ffast-math. That would not generally be a problem except when the compiler implements sqrt(x) as x*rsqrt(x) with an exception for x=0. In that case, when x is a non-zero denorm value, the exception does not trigger with valgrind (but does on real hardware), which causes the sqrt to evaluate to -inf instead of 0.
-
- Mar 24, 2025
-
-
Using Neon for float to int conversion, and introducing platform- specific function for converting an array of float values to int16. Also adding appropriate unit test. Signed-off-by:
Jean-Marc Valin <jeanmarcv@google.com>
-
- Mar 21, 2025
-
-
Jean-Marc Valin authored
Prevents integer overflow UB in the shift rounding when the signal blows up on bad bitstreams (if it triggers, the signal was already unusable anyway).
-
Jean-Marc Valin authored
Not really a problem in practice (the packet is broken anyway) but caught by asan.
-
- Mar 18, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Could only happen on 32-bit fixed-point builds. The bug was introduced in 4ba06d9e.
-
- Mar 17, 2025
-
-
Jean-Marc Valin authored
-
- Mar 14, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
- Mar 05, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Silences -fsanitize=unsigned-integer-overflow even though the code was valid (not undefined) C.
-
Jean-Marc Valin authored
Silences -fsanitize=unsigned-integer-overflow even though the code was valid (not undefined) C.
-
Jean-Marc Valin authored
-
- Mar 03, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
- Feb 28, 2025
-
-
Jean-Marc Valin authored
-
- Feb 13, 2025
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Change-Id: Ib016fc8f0066980e3e5122b3f286680adc228ff9 Signed-off-by:
Jean-Marc Valin <jeanmarcv@google.com>
-
The exp2 function was approximated using lolremez, achieving an accuracy of less than 2*10^-7 within the range of 0 to 1. Signed-off-by:
Jean-Marc Valin <jeanmarcv@google.com>
-
Change-Id: Ibd0d16918272cb568923d384475e139dc312c61b Signed-off-by:
Jean-Marc Valin <jeanmarcv@google.com>
-
The log2 function was approximated using lolremez, achieving an accuracy of less than 1.4*10^-8 within the range of 1 to 2. Signed-off-by:
Jean-Marc Valin <jeanmarcv@google.com>
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-