ΒΆtemplate <class T,
int totalbits,
int esbits,
class FT,
posit::PositSpec positspec>
constexpr Posit<T,
totalbits,
esbits,
FT,
positspec>
neg(Posit<T, totalbits, esbits, FT, positspec> x)
template <class T,
int totalbits,
int esbits,
class FT,
posit::PositSpec positspec>
constexpr Posit<T,
totalbits,
esbits,
FT,
positspec>
neg(Posit<T, totalbits, esbits, FT, positspec> x)Description
Negation of the Posit
Declared at: include/posit.h:717
Templates
- T
- Posit holding type
- int totalbits
- Posit number of bits
- int esbits
- Posit maximum exponent bits
- FT
- Posit backend type
- posit::PositSpec positspec
- Posit specifics for special numbers
Parameters
- Posit<T, totalbits, esbits, FT, positspec> x
- Posit
Returns
Posit