bigbits

package module
v0.0.0-...-6c3cca3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2014 License: GPL-3.0 Imports: 3 Imported by: 0

README

bigbits

GO implementation for bitwise operations using Big integers.

You can perform UNION, DIFFERENCE operations.

You can convert array of integers to Big bit binary representation.

You can convert binary representation in Big bits to list of integer bits.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocateNew

func AllocateNew(size int) *big.Int

func BinaryToIndices

func BinaryToIndices(x *big.Int) []int

func Difference

func Difference(x, y *big.Int) *big.Int

func IndicesToBinary

func IndicesToBinary(array []int) *big.Int

func Merge

func Merge(x, y *big.Int) *big.Int

func SetBit

func SetBit(x *big.Int, bit int, value uint) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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