[HIP] NFC Add comments to cmath functions
authorAaron En Ye Shi <enye.shi@gmail.com>
Tue, 6 Oct 2020 15:26:56 +0000 (15:26 +0000)
committerAaron En Ye Shi <enye.shi@gmail.com>
Tue, 6 Oct 2020 15:26:56 +0000 (15:26 +0000)
Add missing comments to cmath functions.

Differential Revision: https://reviews.llvm.org/D88837

clang/lib/Headers/__clang_hip_cmath.h

index 067c7e6..fea799e 100644 (file)
@@ -370,7 +370,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #endif
 
 // Pull the new overloads we defined above into namespace std.
-// using ::abs;
+// using ::abs; - This may be considered for C++.
 using ::acos;
 using ::acosh;
 using ::asin;
@@ -419,8 +419,8 @@ using ::logb;
 using ::lrint;
 using ::lround;
 using ::modf;
-// using ::nan;
-// using ::nanf;
+// using ::nan; - This may be considered for C++.
+// using ::nanf; - This may be considered for C++.
 // using ::nanl; - This is not yet defined.
 using ::nearbyint;
 using ::nextafter;