Conversion functions for fixed-point numbers. More...
#include <cudf/fixed_point/detail/floating_conversion.hpp>
#include <cudf/fixed_point/fixed_point.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/traits.hpp>
Go to the source code of this file.
Namespaces | |
cudf | |
cuDF interfaces | |
Functions | |
template<typename Fixed , typename Floating , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating > &&is_fixed_point< Fixed >()) > | |
CUDF_HOST_DEVICE Fixed | cudf::convert_floating_to_fixed (Floating floating, numeric::scale_type scale) |
Convert a floating-point value to fixed point. More... | |
template<typename Floating , typename Fixed , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating > &&is_fixed_point< Fixed >()) > | |
CUDF_HOST_DEVICE Floating | cudf::convert_fixed_to_floating (Fixed fixed) |
Convert a fixed-point value to floating point. More... | |
template<typename Floating , typename Input , CUDF_ENABLE_IF(cuda::std::is_floating_point_v< Floating >) > | |
CUDF_HOST_DEVICE Floating | cudf::convert_to_floating (Input input) |
Convert a value to floating point. More... | |
Conversion functions for fixed-point numbers.
Definition in file conv.hpp.