#include "fr.cuh"
#include "fr_sub.cuh"
Go to the source code of this file.
|
__device__ void | fr_sub (fr_t &z, const fr_t &x) |
| Calculates the difference of two residues modulo p and stores it into z. More...
|
|
◆ fr_sub()
__device__ void fr_sub |
( |
fr_t & |
z, |
|
|
const fr_t & |
x |
|
) |
| |
Calculates the difference of two residues modulo p and stores it into z.
z-=x
- Parameters
-
[in,out] | z | minuend, difference |
| x | subtrahend |
- Returns
- void
Definition at line 17 of file fr_sub.cu.