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

Unified Diff: dart/frog/leg/lib/mockimpl.dart

Issue 9421025: Improve double implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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
Index: dart/frog/leg/lib/mockimpl.dart
diff --git a/dart/frog/leg/lib/mockimpl.dart b/dart/frog/leg/lib/mockimpl.dart
index e9501e689e38463bd07a29586a7c48324ed63aff..5bea9c40c0e6b6825e70e4b4324899c19d3ac615 100644
--- a/dart/frog/leg/lib/mockimpl.dart
+++ b/dart/frog/leg/lib/mockimpl.dart
@@ -44,64 +44,6 @@ class StringBase {
}
}
-class MathNatives {
- static int parseInt(String str) {
- throw 'MathNatives.parseInt is not implemented';
- }
-
- static double parseDouble(String str) {
- throw 'MathNatives.parseDouble is not implemented';
- }
-
- static double sqrt(num value) {
- throw 'MathNatives.sqrt is not implemented';
- }
-
- static double sin(num value) {
- throw 'MathNatives.sin is not implemented';
- }
-
- static double cos(num value) {
- throw 'MathNatives.cos is not implemented';
- }
-
- static double tan(num value) {
- throw 'MathNatives.tan is not implemented';
- }
-
- static double acos(num value) {
- throw 'MathNatives.acos is not implemented';
- }
-
- static double asin(num value) {
- throw 'MathNatives.asin is not implemented';
- }
-
- static double atan(num value) {
- throw 'MathNatives.atan is not implemented';
- }
-
- static double atan2(num a, num b) {
- throw 'MathNatives.atan2 is not implemented';
- }
-
- static double exp(num value) {
- throw 'MathNatives.exp is not implemented';
- }
-
- static double log(num value) {
- throw 'MathNatives.log is not implemented';
- }
-
- static num pow(num value, num exponent) {
- throw 'MathNatives.pow is not implemented';
- }
-
- static double random() {
- throw 'MathNatives.random is not implemented';
- }
-}
-
class TimeZoneImplementation implements TimeZone {
const TimeZoneImplementation.utc() : isUtc = true;
TimeZoneImplementation.local() : isUtc = false;

Powered by Google App Engine
This is Rietveld 408576698