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

Go to the source code of this file.

Functions

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

Function Documentation

◆ fr_isone()

__device__ bool fr_isone ( const fr_t x)

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

Parameters
[in]x
Returns
bool 1 if true, 0 otherwise

Definition at line 13 of file fr_isone.cu.

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