https://github.com/hungrybluedev/bigmath
Arbitrary precision mathematics library implemented in pure V.
https://github.com/hungrybluedev/bigmath
Last synced: 2 months ago
JSON representation
Arbitrary precision mathematics library implemented in pure V.
- Host: GitHub
- URL: https://github.com/hungrybluedev/bigmath
- Owner: hungrybluedev
- Created: 2020-05-05T18:26:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-08T04:42:28.000Z (about 5 years ago)
- Last Synced: 2025-02-14T18:36:26.196Z (4 months ago)
- Language: V
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bigmath
Arbitrary precision mathematics library implemented in pure V.
## Initial Goals
1. The main aim for this project is to be a replacement for V's [math.big](https://github.com/vlang/v/tree/master/vlib/math/big).
2. Have no dependency on external thridparty libraries.
3. Be written completely in V.
4. Implement the following types:
- Int
- Fraction
- Decimal
- Constructible Real
5. Be well tested. Besides being in sync with the [standard tests](https://github.com/vlang/v/blob/master/vlib/math/big/big_test.v), we define more tests to ensure proper coverage of code and correct handling of all practical cases.## Road-map
### 0.1.0
- [ ] `Int` is feature complete.
- [ ] Initialization
- [ ] Equality and Comparison
- [ ] Addition and Subtraction
- [ ] Multiplication
- [ ] Division
- [ ] Representation
- [ ] Existing tests work
- [ ] `big_test.v` passes### 0.2.0
- [ ] `Fraction` is feature complete.
### 0.3.0
- [ ] `Decimal` is feature complete.
### 0.4.0
- [ ] Standard Math library
- [ ] Algebraic Functions
- [ ] Roots
- [ ] Transcendental Functions
- [ ] Trigonometric Functions
- [ ] Exponential and Logarithmic Functions
- [ ] Fundamental Constants### 0.5.0
- [ ] Constructible Real (`Real`) is feature complete.
## Documentation
The Documentation for the publicly accessible API is available [here](/docs.md).
## Under Active Development
This library is being developed actively by me i.e. Subhomoy Haldar [@hungrybluedev](https://twitter.com/hungrybluedev). If you want to get involved you can do the following:
1. Create Feature Requests on the [Issues tab](https://github.com/hungrybluedev/bigmath/issues).
2. Report a bug in the [Issues tab](https://github.com/hungrybluedev/bigmath/issues) and then submit a [Pull Request](https://github.com/hungrybluedev/bigmath/pulls) that fixes the bug if you can.
3. Stay in touch
- Drop by on the [Official V Lang Discord Server](https://discord.gg/vlang) - I'm fairly active there.
- Follow me on Twitter [@hungrybluedev](https://twitter.com/hungrybluedev).