![]() |
ChimeraTK-DeviceAccess 03.26.00
|
Replacement for std::round() which also works constexpr and also casts to the target type in the same step. More...
Functions | |
| template<Integral TO, std::floating_point FROM> | |
| constexpr TO | roundAndCast (FROM x) |
| template<Arithmetic T_LEFT, Arithmetic T_RIGHT> | |
| constexpr bool | greaterMaximum () |
| template<Arithmetic T_LEFT, Arithmetic T_RIGHT> | |
| constexpr bool | lesserMinimum () |
Replacement for std::round() which also works constexpr and also casts to the target type in the same step.
|
constexpr |
Definition at line 63 of file NumericConverter.h.
|
constexpr |
Definition at line 90 of file NumericConverter.h.
|
constexpr |
Definition at line 42 of file NumericConverter.h.