NiCalc is a simple calculator written in Nim using NiGui.
The input term may consist of:
Rational numbers
.
,
, _
Arithmetic operators: +
, -
, *
, /
, ^
(power)
Brackets: (
, )
Functions:
abs()
ceil()
cos()
floor()
ln()
log2()
round()
sin()
sqrt()
tan()
Constants:
pi
e
Example:
Input: (2^16+2*3-sin(pi))/2
Result: 32,771
NiCalc is FLOSS (free/libre and open-source software).
All files in this repository are licensed under the GNU General Public License version 3 (GPLv3).
Copyright 2017-2020 Simon Krauter