This repository was archived by the owner on Apr 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
port newlib's sinf #138
Labels
help wanted
Extra attention is needed
Milestone
Comments
PR #141 implements this |
Interesting speed results (x86_64 GNU/Linux): For x = 0.61587854
For x = 0.61587854*100000.
|
Closed
@burrbull how are you compiling the sleef benchmarks (and are those the 0.5 ULP accuracy functions) ? Test-wise, it shouldn't matter whether we check results against musl, newlib, the systems libm, or all of those. We should be comparing results for either 0.5 or 1 ULP accuracy, depending on what we deem ok. |
Closed
I am closing all newlib issues; please see #133 (comment) for context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Source 1: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=blob;f=newlib/libm/math/sf_sin.c;hb=HEAD
Source 2: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=blob;f=newlib/libm/mathfp/sf_sine.c;hb=HEAD
(Unsure which one we want)
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:
math::musl
module and make sure we continue compiling it.tests/newlib.rs
and removing the function name fromtests/musl.rs
.The text was updated successfully, but these errors were encountered: