用于在值已经偏移时构造 fixed_point
的辅助结构体。 更多...
#include <fixed__point.hpp>
公有成员函数 | |
CUDF_HOST_DEVICE | scaled_integer (Rep v, scale_type s) |
scaled_integer 的构造函数 更多... | |
公有属性 | |
Rep | value |
定点数的数值。 | |
scale_type | scale |
数值的缩放比例。 | |
用于在值已经偏移时构造 fixed_point
的辅助结构体。
示例
Rep | 表示类型(int32_t 或 int64_t ) |
定义于文件 fixed_point.hpp 的第 204 行。
|
inlineexplicit |