GithubHelp home page GithubHelp logo

polinasavelyeva / bignum Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 90 KB

C library for arbitrary-precision arithmetic operations on large integers

License: MIT License

CMake 3.83% C 96.17%
arbitrary-precision bignum c

bignum's Introduction

Bignum

Bignum is a C library for arbitrary-precision arithmetic operations on large integers.

Main Features

  • bignum_add: Performs addition of two big ints.
  • bignum_diff: Calculates the difference between two big ints.
  • bignum_mult: Multiplies two big ints.
  • bignum_div: Divides one big int by another.
  • bignum_mod: Calculates the modulus of one big int by another.
  • str_to_bignum: Converts a string representation of an int to a big int.
  • bignum_to_str: Converts a big int to its string representation.

Building

To build the Bignum library, follow these steps:

  1. Clone the repository:

    git clone https://github.com/PolinaSavelyeva/Bignum.git
    
  2. Navigate to the Bignum directory:

    cd Bignum
    
  3. Build the library using CMake:

    cmake .
    make
    

Build Requirements

  • CMake (version 3.10 or higher)
  • clang compiler supporting C11 standard
  • valgrind

bignum's People

Contributors

polinasavelyeva avatar

Watchers

 avatar

Forkers

spsforks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.