All Projects → Usbac → quich

Usbac / quich

Licence: MIT License
Just an advanced terminal calculator.

Programming Languages

c
50402 projects - #5 most used programming language
Roff
2310 projects

Projects that are alternatives of or similar to quich

Kairos
A non date-based time calculator
Stars: ✭ 100 (+69.49%)
Mutual labels:  calculator, math
cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+50.85%)
Mutual labels:  calculator, math
Calc
C-style arbitrary precision calculator
Stars: ✭ 127 (+115.25%)
Mutual labels:  calculator, math
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+1389.83%)
Mutual labels:  calculator, math
Mather
A powerful expression-based calculator, unit converter, and general computation engine for Android
Stars: ✭ 49 (-16.95%)
Mutual labels:  calculator, math
Sharpmath
A small .NET math library.
Stars: ✭ 36 (-38.98%)
Mutual labels:  calculator, math
Computator.net
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Stars: ✭ 174 (+194.92%)
Mutual labels:  calculator, math
Calculatex
in progress pretty printing calculator language
Stars: ✭ 302 (+411.86%)
Mutual labels:  calculator, math
node calculator
Create Maya node-network by entering a math-formula.
Stars: ✭ 56 (-5.08%)
Mutual labels:  calculator, math
Atosym
algebraic expressions parsing and evaluation through a property system based algorithm
Stars: ✭ 15 (-74.58%)
Mutual labels:  calculator, math
Php Math Parser
Simple mathematical expression parser and calculator.
Stars: ✭ 24 (-59.32%)
Mutual labels:  calculator, math
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-76.27%)
Mutual labels:  calculator, math
Nasc
Do maths like a normal person
Stars: ✭ 396 (+571.19%)
Mutual labels:  calculator, math
String Calc
PHP calculator library for mathematical terms (expressions) passed as strings
Stars: ✭ 60 (+1.69%)
Mutual labels:  calculator, math
Algebraicengine Fraction
a calculating engine~
Stars: ✭ 311 (+427.12%)
Mutual labels:  calculator, math
Kalk
A calculator/expression evaluator written in rust that supports variables and functions.
Stars: ✭ 134 (+127.12%)
Mutual labels:  calculator, math
desktop
Extendable calculator for the 21st Century ⚡
Stars: ✭ 85 (+44.07%)
Mutual labels:  calculator, math
keisan
A Ruby-based expression parser, evaluator, and programming language
Stars: ✭ 48 (-18.64%)
Mutual labels:  calculator, math
kalker
Kalker/kalk is a calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
Stars: ✭ 1,237 (+1996.61%)
Mutual labels:  calculator, math
fcal
Extensive math expression evaluator library for JavaScript and Node.js
Stars: ✭ 86 (+45.76%)
Mutual labels:  calculator, math



Quich

Just an advanced terminal calculator.

Quich is a compact, fast, powerful and useful calculator for your terminal with numerous features, supporting Linux, Mac and Windows, written in ANSI C.

You can enter in interactive mode by calling Quich in your terminal without an operation.

Usage

Options

-d --degree Manage the given angles in degrees

-f --format [%s] The format to display the result

-h --help Get help and information

-i --interactive Force interactive mode

-p --precision [%i] The number of decimals to be used for the internal numbers

-r --round [%i] The number of decimals to round the result

-t --thousands Display the result with thousands separators

-vvv --verbose Display the result with details

-v --version Show the application version

Functions

Syntax: func(operand)

  • sqrt Square root

  • abs Absolute value (positive)

  • log Natural logarithm

  • sin, cos, tan Sine, Cosine and Tangent trigonometric functions

  • asin, acos, atan Arc sine, Arc cosine and Arc tangent trigonometric functions

  • rand Random number between 0 and 1

  • round Round to the nearest integer value

  • floor Round down

  • ceil Round up

Variables

For defining a variable just write an equal operator between its name and its value. Like this: a=4+20.

Available

Values PI, E, GR (Golden Ratio) and G (earth gravity).

The units of measurement for data storage mb, gb, tb and pt (they return the result in kb).

Install

Packaging status

You can download the bundles here.

Or move to your Quich folder and run the following command:

make && sudo make install

Now you should be able to access Quich by running quich in your terminal.

Naming

You can specify the Quich name when installing it with the NAME makefile variable:

sudo make install NAME=calc

Now you will be able to access Quich with the calc command.

Testing

Move to your Quich folder and run the following command:

make test && ./quich_test

Examples

$ quich 5+3
8
$ quich "a=20;a+1"
21
$ quich "5+(cos(2)-2)^2"
10.8377655357568
$ quich "5+(cos(2)-2)^2" -p 2
10.86
$ quich 1234567+1 -t
1,234,568
$ quich 1gb+1mb
1049600
$ quich 12345 -f '%.1g'
1e+04
$ quich 5+PI -vvv
Tokens > '5' '+' 'PI'
Posfix > 5 PI +
Result > 8.14159265358979

Contributing

Any contribution or support to this project in the form of a pull request or message will be highly appreciated. ❤️

You can read more about it right here. Don't be shy :)

License

Quich is open-source software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].