Mathematical constants and functions, plus a random number generator.
To use this library in your code:
import 'dart:math';
2.718281828459045
0.6931471805599453
2.302585092994046
e
. 1.4426950408889634
e
. 0.4342944819032518
3.141592653589793
0.7071067811865476
1.4142135623730951
x
to a double and returns its arc cosine in radians. [...] x
to a double and returns its arc sine in radians. [...] x
to a double and returns its arc tangent in radians. [...] radians
to a double and returns the cosine of the value. [...] x
to a double and returns the natural exponent, e, to the power x
. [...] x
to a double and returns the natural logarithm of the value. [...] x
to the power of exponent
. [...] radians
to a double and returns the sine of the value. [...] x
to a double and returns the positive square root of the value. [...] radians
to a double and returns the tangent of the value. [...]
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-math/dart-math-library.html