fix folders
This commit is contained in:
19
Other/Square Root (Basic Chip)/README.md
Normal file
19
Other/Square Root (Basic Chip)/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Square Root
|
||||
|
||||
This script calculates the square root of a number on a **basic** level Yolol chip.
|
||||
|
||||
## Inputs
|
||||
|
||||
The input is a single number in the `:a` field.
|
||||
|
||||
- `:a` number
|
||||
|
||||
## Outputs
|
||||
|
||||
The output is a single number in the `:o` field.
|
||||
|
||||
- `:o` Sqrt(:a)
|
||||
|
||||
## Credits
|
||||
|
||||
- Zijkhal#0154
|
||||
1
Other/Square Root (Basic Chip)/sqrt.yolol
Normal file
1
Other/Square Root (Basic Chip)/sqrt.yolol
Normal file
@@ -0,0 +1 @@
|
||||
x=:a/55+3 x+=:a/x x+=:a/x*4 x=:a/x+x/16 :o=x+:a/x/4
|
||||
Reference in New Issue
Block a user