Difference between revisions of "Sqrt"

From Mesham
Jump to navigationJump to search
m (4 revisions imported)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
This sqrt(d) function will return the result of square rooting ''d''.
 
This sqrt(d) function will return the result of square rooting ''d''.
  
* '''Pass:''' An double to find square root of
+
* '''Pass:''' An [[Double]] to find square root of
* '''Returns:''' A double which is the square root
+
* '''Returns:''' A [[Double]] which is the square root
  
 
== Example ==
 
== Example ==
  
 
  #include <maths>
 
  #include <maths>
  var a:=sqrt(8.3);
+
   
 +
function void main() {
 +
    var a:=sqrt(8.3);
 +
};
 +
 
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

This sqrt(d) function will return the result of square rooting d.

  • Pass: An Double to find square root of
  • Returns: A Double which is the square root

Example

#include <maths>

function void main() {
   var a:=sqrt(8.3);
};

Since: Version 0.41b