aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-10-09 10:36:31 -0700
committerCody Tapscott <topolarity@tapscott.me>2022-10-09 11:09:02 -0700
commiteac1e613be56875a08102bd06e333a0621600ee6 (patch)
tree7c65fbc28f805bcb3d0e1fe4522a738cb36df97d /src/Compilation.zig
parent7f508480f49b78817bf67579a8810d4499cbbc13 (diff)
downloadzig-eac1e613be56875a08102bd06e333a0621600ee6.tar.gz
zig-eac1e613be56875a08102bd06e333a0621600ee6.zip
compiler_rt: Re-implement `ldexp`/`ilogb` using bit-ops
This re-write was needed to fix deficiencies in the existing ldexp, which was failing to compute correct results for both f16 and f80. It would be nice to add a fast multiplication-based fallback in the future for targets that have a hardware FPU, but this implementation should be much faster than the existing for targets without one.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions