package
0.4.0
Repository: https://github.com/sp301415/tfhe-go.git
Documentation: pkg.go.dev

# Functions

Abs returns the absolute value of x.
ByteSizeT returns the bytes required to express value of type T.
DivRound returns round(x/y).
DivRoundBits is a bit-optimzed version of RoundRatio: it returns round(x/2^bits).
IsPowerOfTwo returns whether x is a power of two.
IsSigned returns true if type T is a signed type.
Log2 returns floor(log2(x)).
Max returns the larger value between x and y.
MaxN returns the largest number of x.
MaxT returns the maximum possible value of type T in uint64.
Min returns the smaller value between x and y.
MinN returns the smallest number of x.
MinT returns the minimum possible value of type T in int64.
SizeT returns the bits required to express value of type T.
Sqrt returns floor(sqrt2(x)).

# Interfaces

Integer represents the Integer type.
Number represents Integer, Float, and Complex type.
Real represents the Integer and Float type.
Unsigned represents the unsigned Integer type.