Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.2.12 #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,100 @@ and this project adheres to

## [Unreleased]

## [0.2.12](https://github.com/rust-lang/libm/compare/libm-v0.2.11...libm-v0.2.12) - 2025-01-28

### Other

- Ignore specific `atan2` and `sin` tests on i586
- Rework the available Cargo profiles
- Remove remnants of the `checked` feature
- Upgrade all dependencies to the latest version
- Add `fmodf128`
- Add `fmodf16` using the generic implementation
- Add a generic version of `fmod`
- Add `fminf16`, `fmaxf16`, `fminf128`, and `fmaxf128`
- Add a generic version of `fmin` and `fmax`
- Add `roundf16` and `roundf128`
- Add a generic version of `round`
- Add a generic version of `scalbn`
- Change `from_parts` to take a `u32` exponent rather than `i32`
- Add `hf16!` and `hf128!`
- Add `rintf16` and `rintf128`
- Add a generic version of `rint`
- Adjust `ceil` style to be more similar to `floor`
- Add `floorf16` and `floorf128`
- Add a generic version of `floor`
- Add `ceilf16` and `ceilf128`
- Add a generic version of `ceil`
- Make `Float::exp` return an unsigned integer
- Shift then mask, rather than mask then shift
- Add `sqrtf16` and `sqrtf128`
- Copy the u256 implementation from compiler_builtins
- Port the most recent version of Musl's `sqrt` as a generic algorithm
- Ignore files relevant to benchmarking
- Add benchmarks using iai-callgrind
- Adjust precision and add xfails based on new tests
- Simplify and optimize `fdim` ([#442](https://github.com/rust-lang/libm/pull/442))
- Don't set `codegen-units=1` by default in CI
- Add `fdimf16` and `fdimf128`
- Add a generic version of `fdim`
- Add `truncf16` and `truncf128`
- Add a generic version of `trunc`
- Add a utility crate for quick evaluation
- Enable `build-mpfr` and `build-musl` by default
- Rename the `test-multiprecision` feature to `build-mpfr`
- Introduce arch::aarch64 and use it for rint{,f}
- Use wasm32 arch intrinsics for rint{,f}
- Expose C versions of `libm` functions in the `cb` crate
- Add `biteq` and `exp_unbiased` to `Float`
- Add a `release-checked` profile with debug and overflow assertions
- Remove `ExpInt` from `Float`, always use `i32` instead
- Split `cast` into `cast` and `cast_lossy`
- Use `core::arch::wasm` functions rather than intrinsics
- Account for optimization levels other than numbers
- Replace "intrinsic" config with "arch" config
- Don't use intrinsics abs for `f16` and `f128` on wasm32
- Remove an unused `feature = "force-soft-floats"` gate
- Switch from using `unstable-intrinsics` to `intrinsics_enabled`
- Add test infrastructure for `f16` and `f128`
- Add `fabsf16`, `fabsf128`, `copysignf16`, and `copysignf128`
- Enable `f16` and `f128` when creating the API change list
- Add more detailed definition output for `update-api-list.py`
- Rename `unstable-test-support` to `unstable-public-internals`
- Add a way for tests to log to a file
- Use intrinsics for `abs` and `copysign` when available
- Rename generic `abs` to `fabs`
- Use `rustdoc` output to create a list of public API
- Remove an `is_nan` workaround that is no longer needed
- Update and slightly refactor some of the `Float` trait
- Add `f16` and `f128` configuration from `compiler-builtins`
- Introduce generic `abs` and `copysign`
- Fix new `clippy::precedence` lints
- Introduce helper types for accessing trait items
- Fix a bug in `abs_diff`
- Remove tests against system musl
- Use `https:` links in `README.md`
- Move some numeric trait logic to default implementations
- Resolve clippy errors in `libm` tests and check this in CI
- Add some more basic docstrings ([#352](https://github.com/rust-lang/libm/pull/352))
- Introduce `hf32!` and `hf64!` macros for hex float support
- Fix errors reported by Clippy in `libm`
- Expose the `support` module publicly with a test feature
- Update libm `Float` and `Int` with functions from the test traits
- Change prefixes used by the `Float` trait
- Remove `libm-bench`
- Rename `canonical_name` to `base_name`
- Add float and integer traits from compiler-builtins
- Move architecture-specific code to `src/math/arch`
- Update `select_implementation` to accept arch configuration
- Add an "arch" Cargo feature that is on by default
- Vendor `cfg_if::cfg_if!`
- Make use of `select_implementation`
- Introduce a `select_implementation` macro
- Introduce `math::arch::intrinsics`
- Replace `feature = "unstable-intrinsics"` with `intrinsics_enabled`
- Move the existing "unstable" feature to "unstable-intrinsics"

## [0.2.11](https://github.com/rust-lang/libm/compare/libm-v0.2.10...libm-v0.2.11) - 2024-10-28

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT AND (MIT OR Apache-2.0)"
name = "libm"
readme = "README.md"
repository = "https://github.com/rust-lang/libm"
version = "0.2.11"
version = "0.2.12"
edition = "2021"
exclude = ["/ci/", "/.github/workflows/"]
rust-version = "1.63"
Expand Down