Bigq operators {gmp} | R Documentation |
Addition, substraction, multiplication, division.
add.bigq(a, b) sub.bigq(a, b=NULL) mul.bigq(a, b) div.bigq(a, b) abs.bigq(a)
a,b |
bigq, integer or string from an integer |
... |
Additional parameters |
Operators can be use directly when objects are of class bigq: a + b, a * b, etc.
A bigq class representing the result of the arithmetic operation.
Immanuel Scholz and Antoine Lucas
http://mulcyber.toulouse.inra.fr/projects/gmp/
# 1/3+1=4/3 as.bigq(1,3) + 1