NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #274 most downloaded on crates.io
libm in pure Rust
Last release 8 months ago
24 Jan 2026
Release timing varies
gaps range from 1 weeks to 2.2 years
Most releases are documented
notes for 15 of 21 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
22 releases · first in 2018
Fix an incorrect result for fminimum and fmaximum with the input (-0, NaN)
fminimum and fmaximum with the input (-0, NaN)libm::Libm::roundevenexpm1f overflow thresholdCmpResult to use a pointer-sized return typeCARGO_CFG_TARGET_FAMILY in a multi-valued fashionexp and its variants for i586 with inline assemblyfloor and ceil in assembly on i586fmod worst case performance (#1002)Require target_has_atomic = "ptr" for runtime feature detection
target_has_atomic = "ptr" for runtime feature detectionOne column per quarter.
Use runtime feature detection for fma routines on x86
Switch back to workspace resolver v2 to unbreak builds without the 2024 edition
Mark generic functions #[inline]
#[inline]fmodno_panicroundeven{,f,f16,f128}fminimum, fmaximum, fminimum_num, and fmaximum_numforce_eval! in ceil, floor, and trunccbrtfmaf128scalbnf16, scalbnf128, ldexpf16, and ldexpf128fmodf128fmodf16 using the generic implementationfminf16, fmaxf16, fminf128, and fmaxf128roundf16 and roundf128rintf16 and rintf128floorf16 and floorf128ceilf16 and ceilf128sqrtf16 and sqrtf128fdim (#442)fdimf16 and fdimf128truncf16 and truncf128fabsf16, fabsf128, copysignf16, and copysignf128special_case module to precision and move default ULPThere are a number of things that changed internally, see the git log for a full
list of changes.
fix type of constants in ported sincosf
Set the MSRV to 1.63 and test this in CI
Fix clippy::deprecated_cfg_attr on compiler_builtins
musl-bitwise-tests feature to test-musl-serializedmusl-reference-tests feature to musl-bitwise-testsmusl-reference-tests to a new libm-test crateforce-soft-floats feature to prevent using any intrinsics or
arch-specific codeclippy::deprecated_cfg_attr on compiler_builtinsextern core in tgammaNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Fixed - sincosf
Overflows in rem_pio2 and remquo
Restored compatibility with Rust 1.31.0
### Added - minf - fmin - fmaxf - fmax
### Added - acosf - asin - asinf - atan - atan2 - atan2f - atanf - cos - cosf - cosh - coshf - exp2 - expm1 - expm1f - expo2 - fmaf - pow - sin - sinf
### Added - acos - acosf - asin - asinf - atanf - cbrt - cbrtf - ceil - ceilf - cosf - exp - exp2 - exp2f - expm1 - expm1f - fdim - fdimf - floorf - f
[Unreleased]: https://github.com/japaric/libm/compare/v0.2.1...HEAD [v0.2.1]: https://github.com/japaric/libm/compare/0.2.0...v0.2.1 [v0.2.0]: https:/
Your coding agent can read these notes before it upgrades. Set up the MCP server →