math.asin

From GMod Wiki

Revision as of 15:12, 24 September 2009 by Unrealomega (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax math.asin( Float number )
Where is this used?
Description:
Returns the arc sine of x (in radians).
Returns: Float
Part of Library: Math
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Math.asin]Math.asin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionReturn the inverse sine of the given value.
Used onNewerShared.png
Code
print(math.asin(0))
//0
print(math.asin(1))
//1.5707963267949
Output0 and 1.5707963267949


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox