Kind: global class
this: {FP4}
Creates an instance of FP8
Param | Description |
---|---|
c | FP8 / FP4 instance |
d | FP4 instance |
Reduces all components of possibly unreduced FP8 mod Modulus
Kind: instance method of FP8
this: {FP8}
Normalises the components of an FP8
Kind: instance method of FP8
this: {FP8}
Tests for FP8 equal to zero
Kind: instance method of FP8
this: {FP8}
Tests for FP8 equal to unity
Kind: instance method of FP8
this: {FP8}
Conditional copy of FP8 number
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
g | FP8 instance |
d | copy depends on this value |
test is w real? That is in a+ib test b is zero
Kind: instance method of FP8
this: {FP8}
extract real part a
Kind: instance method of FP8
this: {FP8}
extract a from this
Kind: instance method of FP8
this: {FP8}
extract b from this
Kind: instance method of FP8
this: {FP8}
Tests for equality of two FP8s
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
x | FP8 instance to compare |
Copy FP8 to another FP8
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
x | FP8 instance to be copied |
Set FP8 to zero
Kind: instance method of FP8
this: {FP8}
Set FP8 to unity
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
x | FP8 instance to be set to one |
Set FP8 from two FP4 values
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
c | FP4 instance |
d | FP4 instance |
Set FP8 from one FP4 value
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
c | FP4 instance |
Negation of FP8
Kind: instance method of FP8
this: {FP8}
Conjugation of FP8
Kind: instance method of FP8
this: {FP8}
Negative conjugation of FP8
Kind: instance method of FP8
this: {FP8}
addition of two FP8s
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
x | FP8 instance |
subtraction of two FP8s
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
x | FP8 instance |
Multiplication of an FP8 by an FP8
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
s | FP8 instance |
Multiplication of an FP8 by a small integer
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
s | integer |
Fast Squaring of an FP8
Kind: instance method of FP8
this: {FP8}
Full unconditional Multiplication of two FP8s
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
y | FP8 instance, the multiplier |
convert to hex string
Kind: instance method of FP8
this: {FP8}
Inverting an FP8
Kind: instance method of FP8
this: {FP8}
multiplies an FP8 instance by irreducible polynomial sqrt(1+sqrt(-1))
Kind: instance method of FP8
this: {FP8}
multiplies an FP8 instance by irreducible polynomial (1+sqrt(-1))
Kind: instance method of FP8
this: {FP8}
Raises an FP8 to the power of the internal modulus p, using the Frobenius
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
f | Modulus |
Raises an FP8 to the power of a BIG
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
e | BIG instance exponent |
Calculates the XTR addition function r=w*x-conj(x)*y+z
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
w | FP8 instance |
y | FP8 instance |
z | FP8 instance |
Calculates the XTR doubling function r=x^2-2*conj(x)
Kind: instance method of FP8
this: {FP8}
Calculates FP8 trace of an FP8 raised to the power of a BIG number
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
n | Big number |
Calculates FP8 trace of c^a.d^b, where c and d are derived from FP8 traces of FP8s
Kind: instance method of FP8
this: {FP8}
Divide an FP8 by 2
Kind: instance method of FP8
this: {FP8}
Divide FP8 number by QNR
Kind: instance method of FP8
this: {FP8}
Divide an FP8 by QNR twice
Kind: instance method of FP8
this: {FP8}
Divide an FP8 by QNR/2
Kind: instance method of FP8
this: {FP8}
Multiplication of an FP8 by an FP2
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
s | FP2 multiplier |
Multiplication of an FP8 by an FP
Kind: instance method of FP8
this: {FP8}
Param | Description |
---|---|
s | FP multiplier |
Calculate square root of an FP8
Kind: instance method of FP8
this: {FP8}