mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Fix typos; Insert missing lines in README.md
Fixed typos in help/intro and README.md; Copied missing description lines from help/intro to README.md "What is calc?" section.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
# What is calc?
|
# What is calc?
|
||||||
|
|
||||||
Calc is an interactive calculator which provides for easy large
|
Calc is an interactive calculator which provides for easy large
|
||||||
|
numeric calculations, but which also can be easily programmed
|
||||||
|
for difficult or long calculations. It can accept a command line
|
||||||
|
argument, in which case it executes that single command and exits.
|
||||||
Otherwise, it enters interactive mode. In this mode, it accepts
|
Otherwise, it enters interactive mode. In this mode, it accepts
|
||||||
commands one at a time, processes them, and displays the answers.
|
commands one at a time, processes them, and displays the answers.
|
||||||
In the simplest case, commands are simply expressions which are
|
In the simplest case, commands are simply expressions which are
|
||||||
@@ -16,7 +19,7 @@ and the calculator will print:
|
|||||||
15
|
15
|
||||||
```
|
```
|
||||||
|
|
||||||
Calc as the usual collection of arithmetic operators +, -, /, * as
|
Calc has the usual collection of arithmetic operators +, -, /, * as
|
||||||
well as ^ (exponentiation), % (modulus) and // (integer divide).
|
well as ^ (exponentiation), % (modulus) and // (integer divide).
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@ What is calc?
|
|||||||
|
|
||||||
15
|
15
|
||||||
|
|
||||||
Calc as the usual collection of arithmetic operators +, -, /, *
|
Calc has the usual collection of arithmetic operators +, -, /, *
|
||||||
as well as ^ (exponentiation), % (modulus) and // (integer divide).
|
as well as ^ (exponentiation), % (modulus) and // (integer divide).
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ What is calc?
|
|||||||
|
|
||||||
f2(79)
|
f2(79)
|
||||||
|
|
||||||
will produce;
|
will produce:
|
||||||
|
|
||||||
1009847364737869270905302433221592504062302663202724609375
|
1009847364737869270905302433221592504062302663202724609375
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ What is calc?
|
|||||||
|
|
||||||
sc(31, 61)
|
sc(31, 61)
|
||||||
|
|
||||||
will produce;
|
will produce:
|
||||||
|
|
||||||
256772
|
256772
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user