4
4
5
5
# Standard Library Cheatsheet
6
6
7
- Last updated: Mon, 30 Dec 2019 06:00:52 GMT
7
+ Last updated: Mon, 30 Dec 2019 06:06:12 GMT
8
8
9
9
10
10
## Usage
@@ -13,35 +13,35 @@ Last updated: Mon, 30 Dec 2019 06:00:52 GMT
13
13
吾嘗觀「「算經」」之書。方悟「正弦」「餘弦」「圓周率」之義。
14
14
```
15
15
16
- ## [ 易經] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/易經.wy)
16
+ ## [ 易經] ( .. /lib/易經.wy)
17
17
18
18
| Wenyan | Javascript Equivalent |
19
19
| ---| ---|
20
20
21
- ## [ 算經] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy)
21
+ ## [ 算經] ( .. /lib/算經.wy)
22
22
23
23
| Wenyan | Javascript Equivalent |
24
24
| ---| ---|
25
- | [ ` 圓周率 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L166) | ` Math.PI ` |
26
- | [ ` 下溢 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L186) | ` Math.floor ` |
27
- | [ ` 下溢 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L191) | ` Math.ceil ` |
28
- | [ ` 正弦 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L462) | ` Math.sin ` |
29
- | [ ` 餘弦 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L492) | ` Math.cos ` |
30
- | [ ` 反餘弦 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L527) | ` Math.acos ` |
31
- | [ ` 正切 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L534) | ` Math.tan ` |
32
- | [ ` 反正切 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/算經.wy#L571) | ` Math.atan ` |
25
+ | [ ` 圓周率 ` ] ( .. /lib/算經.wy#L166) | ` Math.PI ` |
26
+ | [ ` 下溢 ` ] ( .. /lib/算經.wy#L186) | ` Math.floor ` |
27
+ | [ ` 下溢 ` ] ( .. /lib/算經.wy#L191) | ` Math.ceil ` |
28
+ | [ ` 正弦 ` ] ( .. /lib/算經.wy#L462) | ` Math.sin ` |
29
+ | [ ` 餘弦 ` ] ( .. /lib/算經.wy#L492) | ` Math.cos ` |
30
+ | [ ` 反餘弦 ` ] ( .. /lib/算經.wy#L527) | ` Math.acos ` |
31
+ | [ ` 正切 ` ] ( .. /lib/算經.wy#L534) | ` Math.tan ` |
32
+ | [ ` 反正切 ` ] ( .. /lib/算經.wy#L571) | ` Math.atan ` |
33
33
34
- ## [ 籌經] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/籌經.wy)
34
+ ## [ 籌經] ( .. /lib/籌經.wy)
35
35
36
36
| Wenyan | Javascript Equivalent |
37
37
| ---| ---|
38
- | [ ` 求和 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/籌經.wy#L1) | ` reduce((a,b)=>a+b) ` |
38
+ | [ ` 求和 ` ] ( .. /lib/籌經.wy#L1) | ` reduce((a,b)=>a+b) ` |
39
39
40
- ## [ 位經] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/js/位經.wy)
40
+ ## [ 位經] ( .. /lib/js/位經.wy)
41
41
42
42
| Wenyan | Javascript Equivalent |
43
43
| ---| ---|
44
- | [ ` 左移 ` ] ( https://github.com/LingDong-/wenyan-lang/blob/master /lib/js/位經.wy#L1) | ` (x=>y=>(x<<y)) ` |
44
+ | [ ` 左移 ` ] ( .. /lib/js/位經.wy#L1) | ` (x=>y=>(x<<y)) ` |
45
45
46
46
47
47
0 commit comments