mirror of https://github.com/CrimsonTome/tldr.git
Fix spacing and commas. Me write English ungood
parent
89cac75cff
commit
12e4418ffb
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
`dc`
|
`dc`
|
||||||
|
|
||||||
- Calculate 4 times 5 [4 5 *] subtract 17 [17 -] and [p]rint the output :
|
- Calculate 4 times 5 [4 5 *], subtract 17 [17 -], and [p]rint the output :
|
||||||
|
|
||||||
`echo "4 5 * 17 - p"| dc`
|
`echo "4 5 * 17 - p"| dc`
|
||||||
|
|
||||||
|
@ -14,6 +14,6 @@
|
||||||
|
|
||||||
`echo "7 k 5 _3 / p" | dc`
|
`echo "7 k 5 _3 / p" | dc`
|
||||||
|
|
||||||
- To 100 decimal places [100 k] , calculate the golden ratio, phi, sqrt(5) [5 v] plus 1 [1 +], divided by 2 [2 /] and [p]rint result:
|
- To 100 decimal places [100 k], calculate the golden ratio, phi, sqrt(5) [5 v] plus 1 [1 +], divided by 2 [2 /], and [p]rint result:
|
||||||
|
|
||||||
`echo "100 k 5 v 1 + 2 / p" | dc`
|
`echo "100 k 5 v 1 + 2 / p" | dc`
|
||||||
|
|
Loading…
Reference in New Issue