class RQRCodeCore::QRMath
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/rqrcode_core/qrcode/qr_math.rbs class RQRCodeCore::QRMath def gexp: (Integer n) -> Integer def glog: (Integer n) -> Integer end
def gexp(n)
Experimental RBS support (using type sampling data from the type_fusion
project).
def gexp: (Integer n) -> Integer
This signature was generated using 125 samples from 1 application.
def gexp(n) while n < 0 n += 255 end while n >= 256 n -= 255 end EXP_TABLE[n] end
def glog(n)
Experimental RBS support (using type sampling data from the type_fusion
project).
def glog: (Integer n) -> Integer
This signature was generated using 193 samples from 1 application.
def glog(n) raise QRCodeRunTimeError, "glog(#{n})" if n < 1 LOG_TABLE[n] end