about summary refs log tree commit diff
path: root/library/compiler-builtins/libm-test/src/generate
AgeCommit message (Collapse)AuthorLines
2025-06-02libm-test: Fix unintentional skips in `binop_common`Trevor Gross-0/+1
`binop_common` emits a `SKIP` that is intended to apply only to `copysign`, but is instead applying to all binary operators. Correct the general case but leave the currently-failing `maximum_num` tests as a FIXME, to be resolved separately in [1]. Also simplify skip logic and NaN checking, and add a few more `copysign` checks. [1]: https://github.com/rust-lang/compiler-builtins/pull/939
2025-05-01fmaf: Add a test case from a MinGW failureTrevor Gross-1/+12
This is a known problem in the MinGW fmaf implementation, identified at [1]. Make sure our implementation passes this edge case. [1]: https://github.com/rust-lang/rust/issues/140515
2025-04-19Run `cargo fmt` on all projectsTrevor Gross-14/+58
Apply the same formatting rules to both `libm` and `compiler-builtins`.
2025-04-19libm: Reorganize into compiler-builtinsTrevor Gross-0/+1541
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`.