-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathmath.py
More file actions
99 lines (51 loc) · 1.42 KB
/
Copy pathmath.py
File metadata and controls
99 lines (51 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import _math
pi = _math.pi
e = _math.e
def ceil(x: float) -> int:
return _math.ceil(x)
def fabs(x: float) -> float:
return _math.fabs(x)
def floor(x: float) -> int:
return _math.floor(x)
def fmod(x: float, y: float) -> float:
return _math.fmod(x, y)
def remainder(x: float, y: float) -> float:
return _math.remainder(x, y)
def trunc(x: float) -> float:
return _math.trunc(x)
def exp(x: float) -> float:
return _math.exp(x)
def log(x: float) -> float:
return _math.log(x)
def log2(x: float) -> float:
return _math.log2(x)
def log10(x: float) -> float:
return _math.log10(x)
def pow(x: float, y: float) -> float:
return _math.pow(x, y)
def sqrt(x: float) -> float:
return _math.sqrt(x)
def acos(x: float) -> float:
return _math.acos(x)
def asin(x: float) -> float:
return _math.asin(x)
def atan(x: float) -> float:
return _math.atan(x)
def atan2(x: float, y: float) -> float:
return _math.atan2(x, y)
def cos(x: float) -> float:
return _math.cos(x)
def sin(x: float) -> float:
return _math.sin(x)
def tan(x: float) -> float:
return _math.tan(x)
def degrees(x: float) -> float:
return _math.degrees(x)
def radians(x: float) -> float:
return _math.radians(x)
def cosh(x: float) -> float:
return _math.cosh(x)
def sinh(x: float) -> float:
return _math.sinh(x)
def tanh(x: float) -> float:
return _math.tanh(x)