Data update
This commit is contained in:
parent
796d366b97
commit
35bcdeebf8
504 changed files with 7045 additions and 610 deletions
|
|
@ -0,0 +1,13 @@
|
|||
func mypow n exp .
|
||||
r = 1
|
||||
if exp < 0
|
||||
exp = -exp
|
||||
n = 1 / n
|
||||
.
|
||||
for i to exp
|
||||
r *= n
|
||||
.
|
||||
return r
|
||||
.
|
||||
print mypow pi 2
|
||||
print mypow 2 -2
|
||||
Loading…
Add table
Add a link
Reference in a new issue