jeffthek / infint Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sercantutar/infint
Arbitrary-Precision Integer Arithmetic
Home Page: http://sercantutar.github.io/infint/
This project forked from sercantutar/infint
Arbitrary-Precision Integer Arithmetic
Home Page: http://sercantutar.github.io/infint/
--- Introduction --- InfInt is simply a lightweight large integer library which consists of a header file. So, all you have to do is to include the header file provided and start using huge integers in your applications. --- Details --- It is pretty straight forward to use the library. Just create an instance of InfInt class and start using it: InfInt myint1 = "15432154865413186646848435184100510168404641560358"; InfInt myint2 = 156341300544608LL; myint1 *= --myint2 - 3; std::cout << myint1 << std::endl; Useful methods: intSqrt: integer square root operation digitAt: returns digit at index numberOfDigits: returns number of digits size: returns size in bytes toString: converts it to a string There are also conversion methods which allow conversion to primitive types: toInt, toLong, toLongLong, toUnsignedInt, toUnsignedLong, toUnsignedLongLong. You may define INFINT_USE_EXCEPTIONS and library methods will start raising InfIntException? in case of error instead of writing error messages using std::cerr.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.