|
template<typename T > |
constexpr auto | numeric::is_supported_representation_type () |
| Returns true if the representation type is supported by fixed_point More...
|
|
template<typename T > |
constexpr auto | numeric::is_supported_construction_value_type () |
| Returns true if the value type is supported for constructing a fixed_point More...
|
|
template<typename Rep , Radix Base, typename T , typename cuda::std::enable_if_t<(cuda::std::is_same_v< int32_t, T > &&is_supported_representation_type< Rep >())> * = nullptr> |
CUDF_HOST_DEVICE Rep | numeric::detail::ipow (T exponent) |
| A function for integer exponentiation by squaring. More...
|
|
template<typename Rep , Radix Rad, typename T > |
constexpr CUDF_HOST_DEVICE T | numeric::detail::right_shift (T const &val, scale_type const &scale) |
| Function that performs a right shift scale "times" on the val More...
|
|
template<typename Rep , Radix Rad, typename T > |
constexpr CUDF_HOST_DEVICE T | numeric::detail::left_shift (T const &val, scale_type const &scale) |
| Function that performs a left shift scale "times" on the val More...
|
|
template<typename Rep , Radix Rad, typename T > |
constexpr CUDF_HOST_DEVICE T | numeric::detail::shift (T const &val, scale_type const &scale) |
| Function that performs a right or left shift scale "times" on the val More...
|
|
template<typename Rep , typename T > |
CUDF_HOST_DEVICE auto | numeric::addition_overflow (T lhs, T rhs) |
| Function for identifying integer overflow when adding. More...
|
|
template<typename Rep , typename T > |
CUDF_HOST_DEVICE auto | numeric::subtraction_overflow (T lhs, T rhs) |
| Function for identifying integer overflow when subtracting. More...
|
|
template<typename Rep , typename T > |
CUDF_HOST_DEVICE auto | numeric::division_overflow (T lhs, T rhs) |
| Function for identifying integer overflow when dividing. More...
|
|
template<typename Rep , typename T > |
CUDF_HOST_DEVICE auto | numeric::multiplication_overflow (T lhs, T rhs) |
| Function for identifying integer overflow when multiplying. More...
|
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE fixed_point< Rep1, Rad1 > | numeric::operator+ (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE fixed_point< Rep1, Rad1 > | numeric::operator- (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE fixed_point< Rep1, Rad1 > | numeric::operator* (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE fixed_point< Rep1, Rad1 > | numeric::operator/ (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator== (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator!= (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator<= (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator>= (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator< (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE bool | numeric::operator> (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
template<typename Rep1 , Radix Rad1> |
CUDF_HOST_DEVICE fixed_point< Rep1, Rad1 > | numeric::operator% (fixed_point< Rep1, Rad1 > const &lhs, fixed_point< Rep1, Rad1 > const &rhs) |
|
Class definition for fixed point data type.
Definition in file fixed_point.hpp.