FK20 CUDA
g1p_addsub.cu File Reference
#include <stdio.h>
#include "fp.cuh"
#include "g1.cuh"
Include dependency graph for g1p_addsub.cu:

Go to the source code of this file.

Functions

__device__ void g1p_addsub (g1p_t &p, g1p_t &q)
 Stores the sum and difference of p and q into p and q. Projective p and q, p,q ← p+q,p-q. More...
 

Function Documentation

◆ g1p_addsub()

__device__ void g1p_addsub ( g1p_t p,
g1p_t q 
)

Stores the sum and difference of p and q into p and q. Projective p and q, p,q ← p+q,p-q.

Parameters
[in,out]pFirst parameter, stores p+q
[in,out]qSecond parameter, stores p-q
Returns
void

Definition at line 18 of file g1p_addsub.cu.

Here is the caller graph for this function: