dart / 2 / dart-math / acos.html

acos function

double acos(
  1. num x
)

Converts x to a double and returns its arc cosine in radians.

Returns a value in the range 0..PI, or NaN if x is outside the range -1..1.

Implementation

external double acos(num x);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-math/acos.html