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

Unified Diff: corelib/src/math.dart

Issue 10696175: Fix typo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: corelib/src/math.dart
diff --git a/corelib/src/math.dart b/corelib/src/math.dart
index b54c8f125eea6e363db8a3a0a37d825eaf64f49c..d8105e2fe908d48d953070e518e7957f99c0d1d8 100644
--- a/corelib/src/math.dart
+++ b/corelib/src/math.dart
@@ -84,7 +84,7 @@ class Math {
}
}
// Check for NaN and b == -0.0.
- if (a == 0 && b.isNegative() || b.isNan()) return b;
+ if (a == 0 && b.isNegative() || b.isNaN()) return b;
return a;
}
return a;
« 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