| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'dart:_fletch_system' as fletch; | 5 import 'dart:fletch._system' as fletch; |
| 6 | 6 |
| 7 const patch = "patch"; | 7 const patch = "patch"; |
| 8 | 8 |
| 9 @patch class Random { | 9 @patch class Random { |
| 10 @patch factory Random([int seed]) { | 10 @patch factory Random([int seed]) { |
| 11 return new _Random(seed); | 11 return new _Random(seed); |
| 12 } | 12 } |
| 13 } | 13 } |
| 14 | 14 |
| 15 | 15 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 @fletch.native external double _sqrt(double x); | 178 @fletch.native external double _sqrt(double x); |
| 179 | 179 |
| 180 @fletch.native external double _exp(double x); | 180 @fletch.native external double _exp(double x); |
| 181 | 181 |
| 182 @fletch.native external double _log(double x); | 182 @fletch.native external double _log(double x); |
| 183 | 183 |
| 184 @fletch.native external double _atan2(double a, double b); | 184 @fletch.native external double _atan2(double a, double b); |
| 185 | 185 |
| 186 @fletch.native external double _pow(double x, double exponent); | 186 @fletch.native external double _pow(double x, double exponent); |
| OLD | NEW |