Index: runtime/lib/double.dart |
diff --git a/runtime/lib/double.dart b/runtime/lib/double.dart |
index 34d780341d79f5626343c093d839ea07332d3f95..53015768c0fa8a91c25ad59d10f5b228965d0af4 100644 |
--- a/runtime/lib/double.dart |
+++ b/runtime/lib/double.dart |
@@ -92,8 +92,10 @@ class _Double implements double { |
native "Double_greaterThanFromInteger"; |
bool get isNegative native "Double_getIsNegative"; |
- bool get isInfinite native "Double_getIsInfinite"; |
- bool get isNaN native "Double_getIsNaN"; |
+ bool get isInfinite => _isInfinite; |
Florian Schneider
2016/10/18 20:34:20
Why must these be private getters?
zra
2016/10/18 22:36:32
Done.
|
+ bool get _isInfinite native "Double_getIsInfinite"; |
+ bool get isNaN => _isNaN; |
+ bool get _isNaN native "Double_getIsNaN"; |
bool get isFinite => !isInfinite && !isNaN; // Can be optimized. |
double abs() { |