You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My gut feeling is "no" but I forgot why. 🙃
In the past we used libm because the Rust standard library did not support the required floating point instructions under certain circumstances such as compilation to WebAssembly in no_std mode.
I don't know if this is still the case ...
We indeed need libm since some f32 and f64 methods such as fract and trunc are not available in Rust's core library unfortunately. This may change in the future though since some people are working on that.
It seems that no_std could works well without
libm
. I want to know ther reason about import it? For performance?The text was updated successfully, but these errors were encountered: