bignum-compare {bignum}R Documentation

Comparison operations

Description

biginteger and bigfloat vectors support the standard comparison operations. The base R documentation can be found at Comparison.

Value

A logical vector.

See Also

Other bignum operations: bignum-arith, bignum-math, bignum-special

Examples

x <- biginteger(5)
y <- bigfloat(2)

x < y
x > y
x <= y
x >= y
x == y
x != y

[Package bignum version 0.3.2 Index]