Difference between pages "New Compiler" and "Asin"

From Mesham
(Difference between pages)
Jump to navigationJump to search
(Created page with 'The current Mesham compiler is mainly written in FlexibO, using Java to preprocess the source code. Whilst this combination is flexible it is not particularly efficient in the co…')
 
 
Line 1: Line 1:
The current Mesham compiler is mainly written in FlexibO, using Java to preprocess the source code. Whilst this combination is flexible it is not particularly efficient in the compilation phase. To this end we are looking to reimplement the compiler in C. This reimplementation will allow us to combine all aspects of the compiler in one package, remove depreciated implementation code, clean up aspects of the compilation process, fix compiler bugs and provide a structured framework from which types can fit in.
+
== Overview ==
  
Like previous versions of the compiler, the results will be completely portable.
+
The asin(d) function will find the inverse sine of the value or variable ''d'' passed to it.
  
This page will be updated with news and developments in relation to this new compiler implementation.
+
* '''Pass:''' A [[Double]] to find the inverse sine of
 +
 
 +
* '''Returns:''' A [[Double]] representing the inverse sine
 +
 
 +
== Example ==
 +
 
 +
#include <maths>
 +
 +
function void main() {
 +
    var d:=asin(23);
 +
    var y:=asin(d);
 +
};
 +
 
 +
''Since: Version 1.0''
 +
 
 +
[[Category:Function Library]]
 +
[[Category:Maths Functions]]

Revision as of 14:32, 15 April 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>

function void main() {
   var d:=asin(23);
   var y:=asin(d);
};

Since: Version 1.0