Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
41 lines (30 loc) · 1.4 KB

README.md

File metadata and controls

executable file
·
41 lines (30 loc) · 1.4 KB

License Build

Big Number Toolbox Library

This library implements mathematical operations for numbers over the usual 64bit limit as efficently as possible and tries to keep a reasonable readability


Get started

# Build the library and create the archive
make

# Link into a project
gcc -o output_name your_file_name -l bntl -I header_folder -L lib_folder
    
# Run test from test/ folder
# Use "debug" flag to run in debug mode (gcc -Wall -DDEBUG)
make debug test_name.c

Code sample

	/* Coming soon... */

Info

  • Numbers: Chunks of unsigned long, which size depends on the architecture to match full CPU capabilities, dynamically allocated
  • Byte order: The number's byte order is the same as the CPU's

Contribute

To contribute follow the istructions in CONTRIBUTING.md
Devlopment version of the repo is in the "dev" branch