Difference between pages "Long" and "Asin"

From Mesham
(Difference between pages)
Jump to navigationJump to search
 
m
 
Line 1: Line 1:
== Syntax ==
+
== Overview ==
  
Long
+
The asin(d) function will find the inverse sine of the value or variable ''d'' passed to it.
  
== Semantics ==
+
* '''Pass:''' A [[Double]] to find the inverse sine of
  
A long 64 bit number.
+
* '''Returns:''' A [[Double]] representing the inverse sine
 
 
=== Default typing ===
 
 
 
{{ElementDefaultTypes}}
 
  
 
== Example ==
 
== Example ==
  
  function void main() {
+
  #include <maths>
    var i:Long;
+
var d:=asin(23);
  };
+
  var y:=asin(d);
 
 
In this example variable ''i'' is explicitly declared to be of type ''Long''.
 
 
 
''Since: Version 0.41b''
 
 
 
== Communication ==
 
  
{{ElementTypeCommunication}}
+
''Since: Version 1.0''
  
[[Category:Element Types]]
+
[[Category:Function Library]]
[[Category:Type Library]]
+
[[Category:Maths Functions]]

Revision as of 18:28, 13 January 2013

Overview

The asin(d) function will find the inverse sine of the value or variable d passed to it.

  • Pass: A Double to find the inverse sine of
  • Returns: A Double representing the inverse sine

Example

#include <maths>
var d:=asin(23);
var y:=asin(d);

Since: Version 1.0