[PATCH] D93062: [HIP] Add signbit(long double) decl

Aaron Enye Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 14 10:29:48 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbe40c12040a0: [HIP] Add signbit(long double) decl (authored by ashi1).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93062/new/

https://reviews.llvm.org/D93062

Files:
  clang/lib/Headers/__clang_cuda_math_forward_declares.h


Index: clang/lib/Headers/__clang_cuda_math_forward_declares.h
===================================================================
--- clang/lib/Headers/__clang_cuda_math_forward_declares.h
+++ clang/lib/Headers/__clang_cuda_math_forward_declares.h
@@ -160,6 +160,9 @@
 __DEVICE__ float scalbln(float, long);
 __DEVICE__ double scalbn(double, int);
 __DEVICE__ float scalbn(float, int);
+#ifdef _MSC_VER
+__DEVICE__ bool signbit(long double);
+#endif
 __DEVICE__ bool signbit(double);
 __DEVICE__ bool signbit(float);
 __DEVICE__ double sin(double);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93062.316704.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210114/5c2dfbd1/attachment.bin>


More information about the cfe-commits mailing list