Coder Social home page Coder Social logo

cbigint-library's Introduction

CBigINT-Library

This library consists up of various BIG INTEGER functions written in C++ which are present in the inbuilt BIGINTEGER library of JAVA.

BIG INTEGERS are those integers which can be accomodated in a normal data type of 64 bit capacity.

This library consists up of 14 various functions to be used for big integers:

1.)CBigINT_add(string,string)-Return sum of two big integers.
//
2.)CBigINT_sub(string,string)-Return difference of two big integers.
//
3.)CBigINT_mul(string,string)-Return product of two big integers.
//
4.)CBigINT_max(string,string)-Return maximum of the two big integers.
//
5.)CBigINT_min(string,string)-Return minimum of the two big integers.
//
6.)CBigINT_gcd(long long,string)-Return greatest common divisor of the two integers.
//
7.)CBigINT_mod(long long,string)-Return modulus of one integer with other.
//
8.)CBigINT_abs(string)-Return absolute value of the big integer.
//
9.)CBigINT_factorial(long long)-Return factorial of <=64 bit number.(Result is a big integer).
//
10.)CBigINT_prime(long long)-Return true:if integer is prime else:false
//
11.)CBigINT_increase(string)-Increase the big integer by 1.
//
12.)CBigINT_decrease(string)-Decrease the big integer by 1.
//
13.)CBigINT_nextPerm(string)-Form next permutation (if possible) of big integer.
//
14.)CBigINT_prevPerm(string)-Form previous permutation (if possible) of big integer.

SOME QUESTIONS BASED ON BIG INTEGER: Chef The Brave Warrior
Weird Sum
Ganesh Impresses Jojo

cbigint-library's People

Contributors

yashaswajain avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.