about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2022-11-07 13:10:36 -0500
committerJules Bertholet <julesbertholet@quoi.xyz>2022-12-11 01:20:18 -0500
commitf8138110bca50f8eb9196e098d20df5f496b7051 (patch)
treef2bfbad05c4f55121c41413829efbb3baff6ac53 /compiler/rustc_codegen_llvm/src
parent03c166d3893aba971beecaf65d0722f44a786ecf (diff)
downloadrust-f8138110bca50f8eb9196e098d20df5f496b7051.tar.gz
rust-f8138110bca50f8eb9196e098d20df5f496b7051.zip
Use rint instead of roundeven
Use rint intrinsic instead of roundeven to impement `round_ties_even`. They do the same thing when rounding mode is default, which Rust assumes.
And `rint` has better platform support.

Keeps `roundeven` around in `core::intrinsics`, it's doing no harm there.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions