Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/607011/bincalc
Arbitrary precision calculator with web UI (uses BigInt)
https://github.com/607011/bincalc
arbitrary-precision calculator javascript rpn shunting-yard-algorithm
Last synced: about 5 hours ago
JSON representation
Arbitrary precision calculator with web UI (uses BigInt)
- Host: GitHub
- URL: https://github.com/607011/bincalc
- Owner: 607011
- License: gpl-3.0
- Created: 2019-06-07T07:48:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T06:27:48.000Z (4 months ago)
- Last Synced: 2024-07-18T17:28:32.324Z (4 months ago)
- Topics: arbitrary-precision, calculator, javascript, rpn, shunting-yard-algorithm
- Language: JavaScript
- Homepage:
- Size: 4.11 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# APC
_Arbitrary Precision Calculator with Web UI_
![](https://img.shields.io/github/license/607011/bincalc.svg)
This formula-based calculator uses JavaScript’s `BigInt` to operate on almost infinitely large integers.
Write your formulas as you’re used to in JavaScript, one per line, e.g. `4*(b1111^b1010)+xff*o77`, i.e. bitwise XOR the binary values 1111 and 1010, then multiply the result with 4 (decimal), finally add the product of hexadecimal value ff and the octal value 77. You can also assign values to variables like in `a = 2**128`. Choose the number system for the result output using the radio buttons.
**[Try it!](https://607011.github.io/bincalc/)**
## Literature
- Oliver Lau, Unendlich lang, BigInt: Rechnen mit beliebig großen ganzen Zahlen, [c’t 16/2019, S. 186](https://www.heise.de/select/ct/2019/16/1564400670423132)
---
### Terms Of Use
This software was created for teaching and demonstration purposes and is not intended for productive use. Heise Medien and the author are therefore not liable for damages arising from the use of the software and do not guarantee its completeness, freedom from errors and suitability for a specific purpose.
### Nutzungshinweise
Diese Software wurde zu Lehr- und Demonstrationszwecken geschaffen und ist nicht für den produktiven Einsatz vorgesehen. Heise Medien und der Autor haften daher nicht für Schäden, die aus der Nutzung der Software entstehen, und übernehmen keine Gewähr für ihre Vollständigkeit, Fehlerfreiheit und Eignung für einen bestimmten Zweck.