mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 22:05:31 +03:00
1563ea9f27
This commit removes the compiler support for floating point modulus operations, as well as from the language. An implementation for this operator is now required to be provided by libraries. Floating point modulus is rarely used, doesn't exist in C, and is always lowered to an fmod library call by LLVM, and LLVM is considering removing support entirely. Closes #12278