Skip to content
Commit 074e8357 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

math: fix constant in sinf and cosf

gcc-12 -frounding-math started using runtime rounding mode for
converting double constants to float, so abstop12(pio4) is no longer
a compile time constant (this is required by iso c). Use float pio4f
instead to make the generated code the same as before and avoid
regressions on gcc-12.
parent 7a9fd160
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment