statrs-dev / statrs

Statistical computation library for Rust
https://docs.rs/statrs/latest/statrs/
MIT License
546 stars 78 forks source link

no_std support #165

Open h4x3rotab opened 2 years ago

h4x3rotab commented 2 years ago

It would be nice if we can add no_std support for at least the parts don't need rng. It's a good idea to define a rng trait and allow the user to pass it to the library.

vks commented 2 years ago

Rand works fine without std. Floating point math however needs std, unless libm is used.