![]() |
VPTissue Reference Manual
|
Math signum function. More...
#include <type_traits>

Go to the source code of this file.
Namespaces | |
| SimPT_Sim | |
| Namespace for the core simulator. | |
| SimPT_Sim::Util | |
| Namespace for miscellaneous utilities. | |
Functions | |
| template<typename T > | |
| constexpr int | SimPT_Sim::Util::signum (T x, std::false_type) |
| Overload for unsigned types. More... | |
| template<typename T > | |
| constexpr int | SimPT_Sim::Util::signum (T x, std::true_type) |
| Overload for signed types. More... | |
| template<typename T > | |
| constexpr int | SimPT_Sim::Util::signum (T x) |
| Select particular overload via tag dispatch. More... | |
Math signum function.
Definition in file signum.h.