go_util

module
v0.0.0-...-22e7416 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: MIT

README

ca

computational algebra

pardic.go

implementation of $p$-adic integers

nat

  • my greatest appreciation to apgoucher for the prime $p = 2^{64} - 2^{32} + 1$ with $g=7$ being the generator of $(\mathbb{Z}/p)^\times$
  • (almost) arbitrary precision unsigned integer $[0, 2^{4294967294 \times 16})$ $\sim$ 8GB
  • multiplication using FFT
  • division using Newton iteration
  • support signed integers by wrapping a sign bit

Directories

Path Synopsis
cmd
cdcl command
fib command
mount_memfs command
ppsz command
relay/hub command
relay/peer command
test command
pkg
fib
ntt
sat
tup
vec
vend/uint128
Package uint128 : https://pkg.go.dev/lukechampine.com/uint128?utm_source=godoc
Package uint128 : https://pkg.go.dev/lukechampine.com/uint128?utm_source=godoc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL