Aerobus v1.2
|
values in zpz More...
#include <aerobus.h>
Public Types | |
using | enclosing_type = zpz< p > |
enclosing ring type | |
using | is_zero_t = std::bool_constant< v==0 > |
true_type if zero | |
Static Public Member Functions | |
template<typename valueType > | |
static constexpr INLINED DEVICE valueType | get () |
get value as valueType | |
static std::string | to_string () |
string representation | |
Static Public Attributes | |
static constexpr int32_t | v = x % p |
actual value | |
static constexpr bool | is_zero_v = v == 0 |
true if zero | |
values in zpz
x | an integer |
enclosing ring type
using aerobus::zpz< p >::val< x >::is_zero_t = std::bool_constant<v == 0> |
true_type if zero
|
inlinestaticconstexpr |
get value as valueType
valueType | an arithmetic type, such as float |
|
inlinestatic |
string representation
|
staticconstexpr |
true if zero
|
staticconstexpr |
actual value