projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac2b3a
)
[libc++][NFC] Fix endif comments in cmath
author
Nikolas Klauser
<nikolasklauser@berlin.de>
Thu, 12 Jan 2023 01:47:41 +0000
(
02:47
+0100)
committer
Nikolas Klauser
<nikolasklauser@berlin.de>
Thu, 12 Jan 2023 01:48:10 +0000
(
02:48
+0100)
libcxx/include/cmath
patch
|
blob
|
history
diff --git
a/libcxx/include/cmath
b/libcxx/include/cmath
index 4f327345e8cae7c2ef1b7f1221b09d78c7b157c2..a27d0ebceb350fe5cdb23ec2015dce23ab3343dd 100644
(file)
--- a/
libcxx/include/cmath
+++ b/
libcxx/include/cmath
@@
-737,7
+737,7
@@
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Tp __constexpr_logb(_Tp __x
}
return _Tp(__exp);
}
-#endif //
_LIBCPP_STD_VER > 17
+#endif //
!__has_constexpr_builtin(__builtin_logb)
return __builtin_logb(__x);
}
@@
-778,7
+778,7
@@
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp __constexpr_scalbn(_Tp _
}
return __x;
}
-#endif //
_LIBCPP_STD_VER > 17
+#endif //
!__has_constexpr_builtin(__builtin_scalbln)
return __builtin_scalbn(__x, __exp);
}