botan v1.13.4 (2023-03-01T00:35:38Z)
Dub
Repo
abs
botan
math
numbertheory
numthry
Return the absolute value
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO
)
BigInt
abs
(
const
(
BigInt
)*
n
)
Parameters
n
const
(
BigInt
)*
an integer
Return Value
Type:
BigInt
absolute value of n
Meta
Source
See Implementation
botan
math
numbertheory
numthry
functions
abs
checkPrime
fips1863ValidSize
gcd
generateDsaPrimes
inverseMod
inverseModOddModulus
isPrime
jacobi
lcm
lowZeroBits
montyInverse
mrTestIterations
mrWitness
mulAdd
powerMod
quickCheckPrime
randomPrime
randomSafePrime
ressol
square
subMul
verifyPrime
Return the absolute value