[all-commits] [llvm/llvm-project] e8a501: [flang][runtime] Use std::fmod for most MOD/MODULO...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jan 25 15:25:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8a5010c0338357c08c740de121b660aa933d5f4
https://github.com/llvm/llvm-project/commit/e8a5010c0338357c08c740de121b660aa933d5f4
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M flang/runtime/numeric.cpp
Log Message:
-----------
[flang][runtime] Use std::fmod for most MOD/MODULO (#78745)
The new accurate algorithm for real MOD and MODULO in the runtime is not
as fast as std::fmod(), which is also accurate. So use std::fmod() for
those floating-point types that it supports.
Fixes https://github.com/llvm/llvm-project/issues/78641.
More information about the All-commits
mailing list