Shift operation
SHR
Unsigned right shift and division-by-power-of-two workflows.
Signature
| Raw symbols | FHE16_SHR, FHE16_LSHIFTR |
|---|---|
| Example | int32_t* out = FHE16_SHR(a, 2); |
Caller
Unsigned right shift and division-by-power-of-two workflows.
Circuit Path
Homomorphic pathMetadata/data copy; no bootstrap-heavy evaluation for normal logical shift.
Input, Output, Ownership
| Output | Shifted ciphertext with reduced bit width. |
|---|---|
| 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_SHR(a, 2);
FHE16_Free(out);