bigmath
May 8, 2020 ยท View on GitHub
Arbitrary precision mathematics library implemented in pure V.
Initial Goals
- The main aim for this project is to be a replacement for V's math.big.
- Have no dependency on external thridparty libraries.
- Be written completely in V.
- Implement the following types:
- Int
- Fraction
- Decimal
- Constructible Real
- Be well tested. Besides being in sync with the standard tests, we define more tests to ensure proper coverage of code and correct handling of all practical cases.
Road-map
0.1.0
-
Intis feature complete.- Initialization
- Equality and Comparison
- Addition and Subtraction
- Multiplication
- Division
- Representation
- Existing tests work
-
big_test.vpasses
-
0.2.0
-
Fractionis feature complete.
0.3.0
-
Decimalis feature complete.
0.4.0
- Standard Math library
- Algebraic Functions
- Roots
- Transcendental Functions
- Trigonometric Functions
- Exponential and Logarithmic Functions
- Fundamental Constants
- Algebraic Functions
0.5.0
- Constructible Real (
Real) is feature complete.
Documentation
The Documentation for the publicly accessible API is available here.
Under Active Development
This library is being developed actively by me i.e. Subhomoy Haldar @hungrybluedev. If you want to get involved you can do the following:
- Create Feature Requests on the Issues tab.
- Report a bug in the Issues tab and then submit a Pull Request that fixes the bug if you can.
- Stay in touch
- Drop by on the Official V Lang Discord Server - I'm fairly active there.
- Follow me on Twitter @hungrybluedev.