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

Unified Diff: runtime/lib/math_patch.dart

Issue 2852053002: Update documentation on trignometric functions. (Closed)
Patch Set: Update fingerprints. Created 3 years, 8 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 | « pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/math_patch.dart
diff --git a/runtime/lib/math_patch.dart b/runtime/lib/math_patch.dart
index a09ad93b62a3f85891cbae5ee7d353b7f4f4e1d8..63459fa1fcc54bc6bc7b11359c77b51afb8dfdff 100644
--- a/runtime/lib/math_patch.dart
+++ b/runtime/lib/math_patch.dart
@@ -60,11 +60,11 @@ int _intPow(int base, int exponent) {
@patch
double atan2(num a, num b) => _atan2(a.toDouble(), b.toDouble());
@patch
-double sin(num x) => _sin(x.toDouble());
+double sin(num radians) => _sin(radians.toDouble());
@patch
-double cos(num x) => _cos(x.toDouble());
+double cos(num radians) => _cos(radians.toDouble());
@patch
-double tan(num x) => _tan(x.toDouble());
+double tan(num radians) => _tan(radians.toDouble());
@patch
double acos(num x) => _acos(x.toDouble());
@patch
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698