about summary refs log tree commit diff
path: root/library/compiler-builtins/libm-test/tests
AgeCommit message (Collapse)AuthorLines
2025-07-01libm: Improved integer utilities, implement shifts and bug fixes for i256 ↵quaternic-2/+44
and u256 `i256` and `u256` - operators now use the same overflow convention as primitives - implement `<<` and `-` (previously just `>>` and `+`) - implement `Ord` correctly (the previous `PartialOrd` was broken) - correct `i256::SIGNED` to `true` The `Int`-trait is extended with `trailing_zeros`, `carrying_add`, and `borrowing_sub`.
2025-06-29apply suggestions for clippy::manual_is_multiple_of in libm-testquaternic-3/+3
2025-05-29libm-test: Make `extensive` an attribute rather than a test typeTrevor Gross-4/+3
Currently we run logspace tests for extensive tests, but there isn't any reason we couldn't also run more kinds of tests more extensively (e.g. more edge cases, combine edge cases with logspace for multi-input functions, etc). As a first step toward making this possible, make `extensive` a new field in `CheckCtx`, and rename `QuickSpaced` to `Spaced`.
2025-04-23libm-macros: Allow a way to bulk match f16 and f128 functionsTrevor Gross-40/+3
These are never available in musl, so introduce easier ways to skip them rather than needing to exclude f16/f128 functions in three different places.
2025-04-19Add remaining `libm` crates to the workspaceTrevor Gross-2/+2
These are still not yet covered in CI since we always name explicit packages there, but all crates are now part of the workspace.
2025-04-19Run `cargo fmt` on all projectsTrevor Gross-6/+28
Apply the same formatting rules to both `libm` and `compiler-builtins`.
2025-04-19libm: Reorganize into compiler-builtinsTrevor Gross-0/+715
Distribute everything from `libm/` to better locations in the repo. `libm/libm/*` has not moved yet to avoid Git seeing the move as an edit to `Cargo.toml`. Files that remain to be merged somehow are in `etc/libm`.