Skip to content

sanglantes/bx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bx

Binary exponentiation $\mod 2^{64}$

Installation

Download yasm in case it is not already installed. Makefile provides build instructions.

sudo apt-get update && \
sudo apt-get install -y yasm && \
make

Remove remaining object files with make clean.

Usage

bx <BASE> <EXPONENT>

Result is written to stdout.

About

Exponetiation by repeated squaring

Resources

Stars

Watchers

Forks

Packages

No packages published