about summary refs log tree commit diff
path: root/library/compiler-builtins/libm-test/benches
AgeCommit message (Collapse)AuthorLines
2025-07-01libm: Improved integer utilities, implement shifts and bug fixes for i256 ↵quaternic-1/+17
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-05-29libm-test: Make `extensive` an attribute rather than a test typeTrevor Gross-1/+1
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-05-29Add benchmarks for float parsing and printingTrevor Gross-17/+83
As part of this, the u256 benchmarks are reorganized to a group.
2025-04-23libm-macros: Allow a way to bulk match f16 and f128 functionsTrevor Gross-41/+4
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-19Run `cargo fmt` on all projectsTrevor Gross-4/+13
Apply the same formatting rules to both `libm` and `compiler-builtins`.
2025-04-19libm: Reorganize into compiler-builtinsTrevor Gross-0/+523
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`.