Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
JOSS
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Functions=== The language contained the following built-in functions: ====Math==== * {{code|sin()}} - Sine of an angle given in radians * {{code|cos()}} - Cosine * {{code|arg()}} - Takes X and Y values of a point and returns the angle between that point and the x-axis * {{code|log()}} - Naperian log * {{code|exp()}} - Natural base to the power of the argument * {{code|sqrt()}} - Square root * {{code|sgn()}} - Sign of the argument, 0 returns 0, -ve values -1, +ve +1 * {{code|ip()}} - Integer part of the argument, {{code|ip(22026.4658)}} returns 22026 * {{code|fp()}} - Fractional part, returns .4658 * {{code|dp()}} - Digit part, returns 2.20264658 * {{code|ep()}} - Exponent part, returns 4, the location of the decimal ====Boolean==== * {{code|tv()}} - Truth value, returns 1 if the expression is true, 0 otherwise ====Looping functions==== JOSS also defined a number of functions that performed looping internally, in order to avoid the programmer having to write a {{code|For}} loop to perform simple tasks like summing a series of numbers. The parameters could be either a list of simple expressions separated by commas, or a range construct whose command could be any statement or function call. * {{code|max()}} - Maximum value of the provided expressions * {{code|min()}} - Minimum * {{code|sum()}} - Sum * {{code|prod()}} - Product * {{code|first()}} - First item in the list that matches a condition, returns that result
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
JOSS
(section)
Add topic