waLLLnutFHE16 Docs

Division operation

DIV_POW2

Unsigned division by powers of two.

Signature

Raw symbolsFHE16_DIV_POW2
Exampleint32_t* out = FHE16_DIV_POW2(a, 3);

Caller

Unsigned division by powers of two.

Circuit Path

Homomorphic pathAlias of logical right shift.

Input, Output, Ownership

OutputUnsigned quotient ciphertext.
OwnershipReturned ciphertext is caller-owned.
Implementation baselineFHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp

C Example

int32_t* out = FHE16_DIV_POW2(a, 3);
FHE16_Free(out);