Chromium Code Reviews| Index: runtime/lib/double.dart |
| =================================================================== |
| --- runtime/lib/double.dart (revision 6912) |
| +++ runtime/lib/double.dart (working copy) |
| @@ -200,7 +200,7 @@ |
| native "Double_toStringAsPrecision"; |
| String toRadixString(int radix) { |
| - throw "Double.toRadixString unimplemented."; |
| + return toInt().toRadixString(radix); |
| } |
| // Order is: NaN > Infinity > ... > 0.0 > -0.0 > ... > -Infinity. |