FK20 CUDA
fp_isone.cu File Reference
#include "fp.cuh"
Include dependency graph for fp_isone.cu:

Go to the source code of this file.

Functions

__device__ bool fp_isone (const fp_t &x)
 Checks if the residue x modulo p is congruent to one. More...
 

Function Documentation

◆ fp_isone()

__device__ bool fp_isone ( const fp_t x)

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

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

Definition at line 13 of file fp_isone.cu.

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