buzz_manual

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

buzz_manual [2018/03/18 23:40]
root created
buzz_manual [2018/03/23 18:17] (current)
jayam [The math Library]
Line 192: Line 192:
   * ''%%math.asin(x)%%'' returns the arc sine of ''%%x%%'' as a float.   * ''%%math.asin(x)%%'' returns the arc sine of ''%%x%%'' as a float.
   * ''%%math.acos(x)%%'' returns the arc cosine of ''%%x%%'' as a float.   * ''%%math.acos(x)%%'' returns the arc cosine of ''%%x%%'' as a float.
-  * ''%%math.atan2(y,x)%%'' returns the arc tangent of ''%%y,x%%'' as a float.+  * ''%%math.atan(y,x)%%'' returns the arc tangent of ''%%y,x%%'' as a float.
   * ''%%math.min(x,y)%%'' returns the minimum between ''%%x%%'' and ''%%y%%''. The type of the return value corresponds to the type of the minimum value: ''%%min(1.0, 2)%%'' is ''%%1.0%%'', and ''%%min(1,2.0)%%'' is ''%%1%%''.   * ''%%math.min(x,y)%%'' returns the minimum between ''%%x%%'' and ''%%y%%''. The type of the return value corresponds to the type of the minimum value: ''%%min(1.0, 2)%%'' is ''%%1.0%%'', and ''%%min(1,2.0)%%'' is ''%%1%%''.
   * ''%%math.max(x,y)%%'' returns the maximum between ''%%x%%'' and ''%%y%%''. The type of the return value corresponds to the type of the maximum value: ''%%max(1.0, 2)%%'' is ''%%2%%'', and ''%%max(1,2.0)%%'' is ''%%2.0%%''.   * ''%%math.max(x,y)%%'' returns the maximum between ''%%x%%'' and ''%%y%%''. The type of the return value corresponds to the type of the maximum value: ''%%max(1.0, 2)%%'' is ''%%2%%'', and ''%%max(1,2.0)%%'' is ''%%2.0%%''.
  • buzz_manual.txt
  • Last modified: 2018/03/23 18:17
  • by jayam