Skip to content
/ bigint Public

A couple of basic implementations of an arbitrary precision integer in Rust

Notifications You must be signed in to change notification settings

crash-g/bigint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A couple of basic implementations of an arbitrary precision integer in Rust.

Only positive integers are supported and only sum and product are implemented.

easy

Numbers are represented as binary integers and stored in an array of u8 (one digit per byte).

Parsing from a string containing a number in binary format is implemented.

optimized_memory

Numbers are represented as integers in base 2^32 and stored in an array of u32 (hence memory usage is optimal).

Parsing from a string containing a number in decimal format is implemented.

About

A couple of basic implementations of an arbitrary precision integer in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages