Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 1.1 KB

PulpFHE_instructions.md

File metadata and controls

16 lines (15 loc) · 1.1 KB

PulpFHE Complex Instructions

Instruction Description
div(A, B) Returns A / B
mod(A, B) Returns A % B
max(A) The maximum value in the list A
min(A) The minimum in the list A
mean(A) The average of the values in the list A
sqrt(A) The square root of A
std(A) The standard deviation of the values in A
var(A) The variance of the values in the list A
relu(A) Returns the rectified linear unit of A
blake3($M_0$, $M_1$) A quarter-round of the Blake3 hash function
rotr(A) Right-rotate the bits of A
rotl(A) Left-rotate the bits of A