Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reimplement fmaf #140

Open
japaric opened this issue Jul 27, 2018 · 1 comment
Open

reimplement fmaf #140

japaric opened this issue Jul 27, 2018 · 1 comment

Comments

@japaric
Copy link
Member

japaric commented Jul 27, 2018

to not use any f64 operation.

Rationale: the current implementation makes use of f64 and it has bad performance on architectures that have no hardware support for double precision floats.

Both the MUSL and newlib implementations use f64 ops internally. We'll need to find some other implementation or come up with one ourselves.

What needs to be done:

Move the existing MUSL port into a private math::musl module and make sure we continue compiling it.
Write the new implementation into src/math/$fun.rs
Write a new test generator for this function.
@japaric japaric added the help wanted Extra attention is needed label Jul 27, 2018
@tgross35
Copy link
Contributor

tgross35 commented Jan 6, 2025

As an update, I am adding generic implementations which will avoid using the same-sized float.

@tgross35 tgross35 removed the help wanted Extra attention is needed label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants