[all-commits] [llvm/llvm-project] b232d1: [libc] Fix math failures for fmod on NVPTX (#213168)
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Jul 31 09:21:47 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b232d110b082c597ac518d37624d16aac3f71ab5
https://github.com/llvm/llvm-project/commit/b232d110b082c597ac518d37624d16aac3f71ab5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M libc/src/math/nvptx/CMakeLists.txt
R libc/src/math/nvptx/fmod.cpp
R libc/src/math/nvptx/fmodf.cpp
Log Message:
-----------
[libc] Fix math failures for fmod on NVPTX (#213168)
Summary:
Fixes some failing tests. Fmod's builtin has improper handling in the
NVPTX instruction so we should just use the generic version for now. The
Float128 implementation seems to have had some undefined behavior for
out of range behavior that only showed up now. Hopefully someone can
tell me if this is fixed correctly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list