BLD: use -ftrapping-math
with Clang on macOS
#24182
Merged
-ftrapping-math
with Clang on macOS
#24182