Division operation
SMOD
Advanced signed modulo with encrypted divisor.
Signature
| Raw symbols | FHE16_SMOD |
|---|---|
| Example | int32_t* out = FHE16_SMOD(a, b); |
Caller
Advanced signed modulo with encrypted divisor.
Circuit Path
Homomorphic pathSigned division path returning signed remainder.
Input, Output, Ownership
| Output | Signed remainder ciphertext. |
|---|---|
| Ownership | Returned ciphertext is caller-owned. |
| Implementation baseline | FHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp |
C Example
int32_t* out = FHE16_SMOD(a, b);
FHE16_Free(out);