rust-lang / libm

A port of MUSL's libm to Rust.
Other
540 stars 98 forks source link

port newlib's cosf #135

Open japaric opened 6 years ago

japaric commented 6 years ago

Source 1: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=blob;f=newlib/libm/math/sf_cos.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:

rrbutani commented 6 years ago

~Working on this one.~

japaric commented 6 years ago

PR #141 implements this

jordens commented 3 years ago

Short status summary on this and #138: