mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 19:43:24 +00:00
7af1f55ae3
Add simd_{round,trunc} intrinsics LLVM supports many functions from math.h in its IR. Many of these have SIMD instructions on various platforms. So, let's add round and trunc so std::arch can use them. Yes, exact comparison is intentional: rounding must always return a valid integer-equal value, except for inf/NAN. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |