sumadic: Sum of two adic integers

Description Usage Arguments Examples

Description

Sum of two adic integers in a given base

Usage

1
sumadic(x1, x2, base = 2L)

Arguments

x1, x2

the two adic integers to be added

base

the base of the two adic integers (integer)

Examples

1
2
sumadic(c(0,1), c(1,1))
sumadic(c(0,1), 1) == odometer(c(0,1))

stla/expansions documentation built on May 30, 2019, 5:46 p.m.