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

Go to the source code of this file.

Functions

__global__ void FpTestAddDistributiveLeft (testval_t *testval)
 Check the distributive property of multiplication in Fp (left of addition): More...
 
__global__ void FpTestAddDistributiveRight (testval_t *testval)
 Check the distributive property of multiplication in Fp (right of addition): More...
 
__global__ void FpTestSubDistributiveLeft (testval_t *testval)
 Check the distributive property of multiplication in Fp (left of subtraction): More...
 
__global__ void FpTestSubDistributiveRight (testval_t *testval)
 Check the distributive property of multiplication in Fp (right of subtraction): More...
 

Function Documentation

◆ FpTestAddDistributiveLeft()

__global__ void FpTestAddDistributiveLeft ( testval_t testval)

Check the distributive property of multiplication in Fp (left of addition):

a(b+c) = ab+ac

Parameters
testval
Returns
void

Definition at line 16 of file fptest_distributive.cu.

Here is the caller graph for this function:

◆ FpTestAddDistributiveRight()

__global__ void FpTestAddDistributiveRight ( testval_t testval)

Check the distributive property of multiplication in Fp (right of addition):

(a+b)c = ac+bc

Parameters
testval
Returns
void

Definition at line 73 of file fptest_distributive.cu.

Here is the caller graph for this function:

◆ FpTestSubDistributiveLeft()

__global__ void FpTestSubDistributiveLeft ( testval_t testval)

Check the distributive property of multiplication in Fp (left of subtraction):

a(b-c) = ab-ac

Parameters
testval
Returns
void

Definition at line 129 of file fptest_distributive.cu.

Here is the caller graph for this function:

◆ FpTestSubDistributiveRight()

__global__ void FpTestSubDistributiveRight ( testval_t testval)

Check the distributive property of multiplication in Fp (right of subtraction):

(a-b)c = ac-bc

Parameters
testval
Returns
void

Definition at line 186 of file fptest_distributive.cu.

Here is the caller graph for this function: