Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: sdk/lib/math/math.dart

Issue 1231933007: make one-line docs for math (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/math/math.dart
diff --git a/sdk/lib/math/math.dart b/sdk/lib/math/math.dart
index 95ed261e2753eade411dd52f6e86202ca3a5e881..d167d80f86a07823fbf6134be43ca104b04a090c 100644
--- a/sdk/lib/math/math.dart
+++ b/sdk/lib/math/math.dart
@@ -220,13 +220,15 @@ external double acos(num x);
/**
* Converts [x] to a double and returns the arc sine of the value.
+ *
* Returns a value in the range -PI..PI, or NaN if [x] is outside
* the range -1..1.
*/
external double asin(num x);
/**
- * Converts [x] to a dobule and returns the arc tangent of the vlaue.
+ * Converts [x] to a dobule and returns the arc tangent of the value.
+ *
* Returns a value in the range -PI/2..PI/2, or NaN if [x] is NaN.
*/
external double atan(num x);
@@ -241,12 +243,14 @@ external double sqrt(num x);
/**
* Converts [x] to a double and returns the natural exponent, [E],
* to the power [x].
+ *
* Returns NaN if [x] is NaN.
*/
external double exp(num x);
/**
* Converts [x] to a double and returns the natural logarithm of the value.
+ *
* Returns negative infinity if [x] is equal to zero.
* Returns NaN if [x] is NaN or less than zero.
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698