Difference between revisions of "Abs"

From GECK

m (Notes: there's no way abs can be fubared into a slow function)
(de-junkifying page)
Line 6: Line 6:
  
 
   abs x    ''will return the absolute value of x.''
 
   abs x    ''will return the absolute value of x.''
 
 
 
 
=='''Examples'''==
 
 
 
 
=='''Notes'''==
 
Sin, cos, tan, pow, and log (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
 
  
 
=='''See Also'''==
 
=='''See Also'''==
 
[[Sin]], [[Cos]], [[Tan]], [[Log]] and [[Pow]]
 
[[Sin]], [[Cos]], [[Tan]], [[Log]] and [[Pow]]
 
=='''Reference'''==
 
 
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Math Functions]]
 
[[Category:Math Functions]]

Revision as of 17:13, 19 December 2008

Description

Abs When given a number returns the absolute value of the number.

Syntax

 abs x     will return the absolute value of x.

See Also

Sin, Cos, Tan, Log and Pow

Personal tools