OpenWalnut
1.5.0dev
|
Some math ops. More...
Functions | |
template<typename T > | |
T | wabs (T u) |
Absolute value of the specified parameter. More... | |
int64_t | wabs (int64_t u) |
Absolute value of the specified parameter. More... | |
uint8_t | wabs (uint8_t u) |
Absolute value of the specified parameter. More... | |
uint16_t | wabs (uint16_t u) |
Absolute value of the specified parameter. More... | |
uint32_t | wabs (uint32_t u) |
Absolute value of the specified parameter. More... | |
uint64_t | wabs (uint64_t u) |
Absolute value of the specified parameter. More... | |
Some math ops.
|
inline |
Absolute value of the specified parameter.
This is a template specialization for std::abs as 64bit Ints are not supported everywhere.
u | the value for which the absolute value should be returned |
Definition at line 149 of file WMScalarOperator.cpp.
|
inline |
Absolute value of the specified parameter.
u | the value for which the absolute value should be returned |
Definition at line 137 of file WMScalarOperator.cpp.
|
inline |
Absolute value of the specified parameter.
This is a template specialization for std::abs as it does not allow unsigned types.
u | the value for which the absolute value should be returned |
Definition at line 173 of file WMScalarOperator.cpp.
|
inline |
Absolute value of the specified parameter.
This is a template specialization for std::abs as it does not allow unsigned types.
u | the value for which the absolute value should be returned |
Definition at line 185 of file WMScalarOperator.cpp.
|
inline |
Absolute value of the specified parameter.
This is a template specialization for std::abs as it does not allow unsigned types.
u | the value for which the absolute value should be returned |
Definition at line 197 of file WMScalarOperator.cpp.
|
inline |
Absolute value of the specified parameter.
This is a template specialization for std::abs as it does not allow unsigned types.
u | the value for which the absolute value should be returned |
Definition at line 161 of file WMScalarOperator.cpp.