Commit ae1d514
authored
refactor: Turn pow into a generic function (#198)
<!--- Please provide a general summary of your changes in the title
above -->
## Pull Request type
<!-- Please try to limit your pull request to one type; submit multiple
pull requests if needed. -->
Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [x] Refactoring (no functional changes, no API changes)
- [ ] Build-related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or
link to a relevant issue. -->
Issue Number: N/A
## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->
-
-
-
## Does this introduce a breaking change?
- [ ] Yes
- [ ] No
<!-- If this does introduce a breaking change, please describe the
impact and migration path for existing applications below. -->
## Other information
<!-- Any other information that is important to this PR, such as
screenshots of how the component looks before and after the change. -->1 parent 1965197 commit ae1d514
2 files changed
Lines changed: 162 additions & 243 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | | - | |
21 | | - | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 53 | | |
64 | | - | |
| 54 | + | |
65 | 55 | | |
66 | 56 | | |
67 | 57 | | |
68 | | - | |
| 58 | + | |
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
72 | 62 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 63 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 64 | + | |
88 | 65 | | |
89 | 66 | | |
90 | 67 | | |
91 | | - | |
| 68 | + | |
92 | 69 | | |
93 | 70 | | |
94 | 71 | | |
95 | 72 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 73 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 74 | + | |
111 | 75 | | |
112 | 76 | | |
113 | 77 | | |
114 | | - | |
| 78 | + | |
115 | 79 | | |
116 | 80 | | |
117 | 81 | | |
118 | 82 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 83 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 84 | + | |
134 | 85 | | |
135 | 86 | | |
136 | 87 | | |
137 | | - | |
| 88 | + | |
138 | 89 | | |
139 | 90 | | |
140 | 91 | | |
141 | 92 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 93 | | |
154 | | - | |
| 94 | + | |
155 | 95 | | |
156 | 96 | | |
157 | 97 | | |
158 | 98 | | |
159 | | - | |
| 99 | + | |
160 | 100 | | |
161 | 101 | | |
162 | 102 | | |
163 | 103 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 104 | | |
176 | | - | |
| 105 | + | |
177 | 106 | | |
178 | 107 | | |
179 | 108 | | |
180 | 109 | | |
181 | | - | |
| 110 | + | |
182 | 111 | | |
183 | 112 | | |
184 | 113 | | |
| |||
0 commit comments