Skip to content

AnZhg/AZGRealNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AZGRealNumber

A big number library written in mixed C and Objective-C

It can handle upto 28 digits.

Supported calculations:

Basic operations (add, subtract, multiply, divide)
Exponentiation
Root
Factorial


Here is a sample output:

2016-12-26 02:46:57.038 AZGRealNumber[29932:303] 1e+2 / 3
= 33333333333333333333333333e-24

2016-12-26 02:46:57.086 AZGRealNumber[29932:303] sqrt(3)
= 173205080756887729352744634e-26

2016-12-26 02:46:57.098 AZGRealNumber[29932:303] factorial(1e+2)
= 9332621544394415268169923912e+130

2016-12-26 02:46:57.100 AZGRealNumber[29932:303] Greatest Common Divisor of 1e+2 and 4 is
4

2016-12-26 02:46:57.107 AZGRealNumber[29932:303] Least Common Multiple of 1e+2 and 4 is
1e+2

2016-12-26 02:46:57.107 AZGRealNumber[29932:303] Generate a random number:
3318876945641868645362171019e-28


Disclaimer: IMPORTANT:

This Software is provided by Zhigang An ("AnZhg") on an "AS IS" basis. ANZHG MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published