mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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.
92 lines
4.1 KiB
92 lines
4.1 KiB