binaryCompare.h
void compareTwoNumbers(CtPtrs &max, CtPtrs &min, Ctxt &mu, Ctxt &ni, const CtPtrs &a, const CtPtrs &b, bool twosComplement=false, std::vector< zzX > *unpackSlotEncoding=nullptr)
Compares two integers in binary a, b. Returns max(a, b), min(a, b) and indicator bits mu=(a>b) and ni...
Definition: binaryCompare.cpp:255
Definition: apiAttributes.h:21