Skip to content

Commit

Permalink
Update libcudacxx/include/cuda/__type_traits/is_floating_point.h
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schellenberger Costa <[email protected]>
  • Loading branch information
bernhardmgruber and miscco authored Jan 21, 2025
1 parent 4180ede commit f73b1fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libcudacxx/include/cuda/__type_traits/is_floating_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_floating_point

#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_CCCL_INLINE_VAR constexpr bool is_floating_point_v = is_floating_point<_Tp>::value;
_CCCL_INLINE_VAR constexpr bool is_floating_point_v = _CUDA_VSTD::is_floating_point_v<_CUDA_VSTD::remove_cv_t<_Tp>>
|| _CUDA_VSTD::__is_extended_floating_point_v<_CUDA_VSTD::remove_cv_t<_Tp>>;
#endif // !_CCCL_NO_VARIABLE_TEMPLATES

_LIBCUDACXX_END_NAMESPACE_CUDA
Expand Down

0 comments on commit f73b1fc

Please sign in to comment.