mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-15 20:45:56 +03:00
8f1e417757
We assume we are compiled on a base-2 radix floating point system. This is a reasonable assumption. musl libc as an example also assumes this. We implement scalbn as an alias for ldexp, since ldexp is defined as 2 regardless of the float radix. This is opposite to musl which defines scalbn in terms of ldexp. Closes #9799.