BigNum.compare(a,b)

Compare two values, one of which must be a BigNum value. Returns 0 if a equals b, a negative number of a is less than b, or a positive number of a is greater than b.

Example

if BigNum.compare(x,y) < 0 then
    error( "X must be >= Y", 0)
end