Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 400 Bytes

File metadata and controls

22 lines (17 loc) · 400 Bytes

Math::Acos()

Math::Acos(x): float

Calculates arc cosine value of a number.

Table 1. Parameters

x

number

Real number x, with −1 ≤ x ≤ 1

Return

The angle in radians whose cosine is x

println(Math::Acos(-1)); // Will print "3.141593"
println(Math::Acos(0.5)); // Will print "1.047198"