Re:Show HN: A Mathematical Integration rust crate
by AlotOfReading on Tuesday November 19, 2024 @11:29AM
(#42185264)
Support for float const fns was merged just a couple months ago and hasn't been officially announced yet.
[ Parent
| on HN ]
Re:Show HN: A Mathematical Integration rust crate
by BD103 on Tuesday November 19, 2024 @11:54AM
(#42185528)
Support for constant float operations was released in Rust 1.82! https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
Re:Show HN: A Mathematical Integration rust crate
by ok123456 on Tuesday November 19, 2024 @11:37AM
(#42185347)
IIRC, that only supports elementary arithmetic operations. Useful but not general.
Re:Show HN: A Mathematical Integration rust crate
by AlotOfReading on Tuesday November 19, 2024 @11:54AM
(#42185534)
It's relatively straightforward to build transcendental functions out of the basic operations and the stdlib support will eventually get there, but rust's float story is still a work in progress. They're trying to do things more properly and document semantics better than C and C++ have.