arduano / simdeez

easy simd
MIT License
337 stars 25 forks source link

Returned libm, support std #53

Closed arduano closed 1 year ago

arduano commented 1 year ago

Removed the copied libm code, instead adding libm as a dependency again.

Also, added the no_std feature to enable the use of libm, otherwise normal rust std is used.

arduano commented 1 year ago

The original rationale for libm being included in this repository is explained by this comment:

//! libm in pure Rust
//!
//! This is pulled from  https://github.com/rust-lang-nursery/libm
//! Maintainers of that project have gone dark, and I had to fix some things
//! so I just pulled it into simdeez.
//! This is all just to support no_std
//!

libm on crates.io appears to be active again with recent updates.