The correct logic for these would be (value + (1<<31)) >> 32, but the constant for
1<<31 was incorrectly set at 0x8000000 (which is 1<<27) rather than 0x80000000...
Pull-request:
https://github.com/PaulStoffregen/Audio/pull/426
- note there is one place in the file using 0x8000000 that is valid and nothing to do with rounding -
Discussion from post #11 here:
https://forum.pjrc.com/threads/68660-Biquad-results-using-multiply_accumulate_32x32_rshift32_rounded
1<<31 was incorrectly set at 0x8000000 (which is 1<<27) rather than 0x80000000...
Pull-request:
https://github.com/PaulStoffregen/Audio/pull/426
- note there is one place in the file using 0x8000000 that is valid and nothing to do with rounding -
Discussion from post #11 here:
https://forum.pjrc.com/threads/68660-Biquad-results-using-multiply_accumulate_32x32_rshift32_rounded