W3cubDocs

/Dart 2

acos function

double acos (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 Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-math/acos.html