• Stars
    star
    232
  • Rank 172,847 (Top 4 %)
  • Language
    C
  • License
    Other
  • Created about 14 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

BSD Licensed Bignum Library
BSDNT version 1.0
=================

BSDNT is a BSD licensed bignum library, suitable for use by languages which
need to provide bignum support and for other projects requiring relatively
fast bignums.

The primary goal of the project is to have clean, comprehensible, 
well-documented code, whilst retaining reasonable performance. It is not
a goal to insanely optimise where that would make the code less readable
and maintainable.

Features
========

* Support for Linux, OSX, BSD, MinGW32, Cygwin, Cygwin64
* Inline assembly optimisation for 64 bit Intel and AMD x86_64 processors
* Low level multiprecision natural numbers interface (nn.h)
* High level multiprecision integer interface (zz.h)
* Very extensive test code
* SHA1 implementation
* KISS / SuperKISS / Mersenne_twister pseudorandom number generators

Requirements
============

Currently we require bash, gnu make and gcc 4 or later or clang.

Installation
============

To build bsdnt and run the test code

$ cd bsdnt
$ ./configure
$ make check

Documentation
=============

The user will most likely use the interfaces in nn.h and zz.h.

All of the functions are documented in those two files.

Future improvements
===================

* Unroll assembly loops
* Assembly support for more processors
* Multiprecision rational number interface
* Multiprecision floating point interface
* Simplify and merge the BSD licensed fft found here:
  https://github.com/wbhart/flint2/tree/trunk/fft
* Asymptotically fast algorithms for GCD, get_str, set_str, division (??)
* Square root and n-th root code

Contributors
============

William Hart, Brian Gladman, Antony Vennard, Gonzalo Tornaria, Howard Mao,
Lee Wei Yeong, Ryan Goulden.
----

See the LICENSE file for legal info and warranty information.

Contributions are welcome. There is a Google group here:

https://groups.google.com/forum/#!forum/bsdnt-devel

Enjoy!!

William Hart - 1-1-2014

More Repositories

1

mpir

Multiple Precision Integers and Rationals
Assembly
229
star
2

Cesium3

Fast interpreter with macros, local type inference, LLVM backend.
C
162
star
3

Nemo.jl

My personal fork of the Nemo project. The official repository is at https://github.com/Nemocas/Nemo.jl
Julia
99
star
4

AbstractAlgebra.jl

Generic abstract algebra functionality in pure Julia (no C dependencies)
Julia
55
star
5

comb

Combinators in C
C
38
star
6

CGAGraphics

Various CGA Graphics code
Assembly
27
star
7

PCRetroProgrammer

Assembly
18
star
8

mach8blitter

Code for the ATI Mach 8 (IBM 8514/A compatible) blitter
C
12
star
9

ccas

A simple CAS written in C.
C
10
star
10

Cesium

Fast interpreter with LLVM backend.
C
10
star
11

mpir-fft

BSD licensed FFT for MPIR
C
7
star
12

ellipse

Ellipse code for PCRetroTech video
Assembly
5
star
13

SimpleMath

A mathematical exploration
CSS
4
star
14

flint1

flint1
C
4
star
15

bacon

Basic Arithmetic Console
C
3
star
16

crtc

Assembly
3
star
17

mathwiki

A wiki of mathematical algorithms
3
star
18

red

Red programming language
C
3
star
19

challenge

CAS challenge
C
3
star
20

crack-bignum

GMP wrapper for crack language
3
star
21

gc

Garbage collector experiments
C
3
star
22

division

Experimental division code
C
3
star
23

ShortMathNotes

Math notes with abbreviated proofs
TeX
3
star
24

generic

generic
C
2
star
25

russell

Automated mathematician
Python
2
star
26

Polymake.jl

Polymake interface from Julia
Julia
2
star
27

simple

Stupidly Implemented Mathematical Platform - Light Edition
C
2
star
28

mpirweb

Python
2
star
29

nemoweb

Nemo website
Python
1
star
30

dpoly

D polynomial benchmark
D
1
star
31

vandiver

Vandiver test code
C
1
star
32

types_in_julia

Types in Julia pynb slides
Jupyter Notebook
1
star
33

PixelTex

An archive of a procedural texture generator I wrote in 2005
C
1
star