Merge pull request #182 from mdaines/sqrt-builtin
Add builtin for calculating square root
This commit is contained in:
commit
4e3024cb61
3 files changed
+29
No files matched your search
@@ -633,6 +633,16 @@ sections:
|
||||
input: '3.14159'
|
||||
output: ['3']
|
||||
|
||||
- title: `sqrt`
|
||||
body: |
|
||||
|
||||
The `sqrt` function returns the square root of its numeric input.
|
||||
|
||||
examples:
|
||||
- program: 'sqrt'
|
||||
input: '9'
|
||||
output: ['3']
|
||||
|
||||
- title: `tonumber`
|
||||
body: |
|
||||
|
||||
|
||||
Reference in new issue
Block a user