View definition

# (Pol).Add

Defined in github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/whyrusleeping/chunker/polynomials.go

## Description

Add returns x+y.

## Examples

for i := 0; i <= y.Deg(); i++ { if (y & (1 << uint(i))) > 0 { res = res.Add(x << uint(i)) } }

m := d << uint(diff) q |= (1 << uint(diff)) x = x.Add(m) diff = x.Deg() - D

a = a.Mul(2).Mod(g) } res = res.Add(a).Mod(g) } }