FK20 CUDA
fr_iszero.cu File Reference
#include "fr.cuh"
Include dependency graph for fr_iszero.cu:

Go to the source code of this file.

Functions

__device__ bool fr_iszero (const fr_t &x)
 Checks if the residue x modulo f is congruent to zero. More...
 

Function Documentation

◆ fr_iszero()

__device__ bool fr_iszero ( const fr_t x)

Checks if the residue x modulo f is congruent to zero.

Parameters
[in]x
Returns
bool 1 if the reduced value is zero, 0 otherwise.

Definition at line 13 of file fr_iszero.cu.

Here is the call graph for this function:
Here is the caller graph for this function: