Coder Social home page Coder Social logo

arsenic-atg / big-integer-library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dhruvpasricha/big-integer-library

0.0 0.0 0.0 88 KB

A library that helps the user to perform all arithematic operations on big integers having up to 1000 digits.

License: MIT License

C++ 100.00%

big-integer-library's Introduction

Big Integer Library (C++)


Features :

  • Arithematic Operations :

    • Addition +

    • Division /

    • Modulo %

    • Multiplication *

    • Subtraction -

  • Math Functions

    • Factorial(n)

    • Fibonacci(n)

    • Gcd(a, b)

    • Lcm(a, b)

    • Pow(x, n)


How to Use :

  • Step 1

    • To Make Submissions on Online Judges(CodeChef, CodeForces, etc.)

      • Copy the code from bigint.h and paste it in your solution file.

    • To Use it locally

      • Clone this repository and place bigint.h in same path as of your project.

      • Just add these two lines at the start of your file

        • #include "bigint.h"

        • using namespace MathFunctions;

  • Step 2

    • Now we can use all of the above features for Big Integers

    • Declarations and Initializations

    • Arithematic Operations

    • Math Functions


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.