tarcieri / micromath

Embedded Rust arithmetic, 2D/3D vector, and statistics library
Apache License 2.0
401 stars 21 forks source link

Added recip, mul_add and signum #100

Closed everdrone closed 1 year ago

everdrone commented 1 year ago

Added more methods for convenience

everdrone commented 1 year ago

Updated to use the most precise approximation from the stack overflow answer

jdahlstrom commented 1 year ago

While you're at it, could you also add sin_cos?

everdrone commented 1 year ago

@tarcieri are the changes ok? Do you know when it will be possible to merge this and use it in my project?

tarcieri commented 1 year ago

Looks like I need to remove the codecov job

tarcieri commented 1 year ago

@everdrone can you rebase? It should fix the build failure

everdrone commented 1 year ago

@everdrone can you rebase? It should fix the build failure

Should be fine now. I didn't add the links in the README.md to the method docs since they're not up yet. Should I add those too or will you add them when you bump the version and prep for the release?

tarcieri commented 1 year ago

Let's get this merged/released first so we can ensure the links will work

tarcieri commented 1 year ago

See #103 for a release