CodeQL library for Go
codeql/go-all 3.0.1-dev (changelog, source)
Search

Primitive type QlBuiltins::BigInt

A BigInt value is an arbitrary-range signed integer.

Predicates

abs

Returns the absolute value of the receiver

bitAnd

Returns the bitwise and of the receiver and the argument

bitNot

Returns the bitwise complement of the receiver

bitOr

Returns the bitwise or of the receiver and the argument

bitShiftLeft

Returns the bitwise left shift of the receiver by the argument

bitShiftRightSigned

Returns the signed bitwise right shift of the receiver by the argument

bitXor

Returns the bitwise xor of the receiver and the argument

gcd

Returns the greatest common divisor of the receiver and the argument, or zero if both receiver and argument are zero.

maximum

Returns the larger of the receiver and the argument

minimum

Returns the smaller of the receiver and the argument

pow

Returns the receiver raised to the given power

toInt

Returns the receiver’s value as a 32-bit signed integer, or no result if the value exceeds the range supported by the int type.

toString

Returns a string representation of the receiver