This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
port newlib's exp2f #136
Closed as not planned
Description
Rationale: the current implementation makes use of f64
and it has bad performance on architectures that have no hardware support for double precision floats.
What needs to be done:
- Move the existing MUSL port into a private
math::musl
module and make sure we continue compiling it. - Port the newlib version into src/math/$fun.rs
- Update the test suite by uncommenting the function name in
tests/newlib.rs
and removing the function name fromtests/musl.rs
.