| Index: sdk/lib/core/num.dart
|
| diff --git a/sdk/lib/core/num.dart b/sdk/lib/core/num.dart
|
| index 1ef0e16e8dece8d0bc1eb033718785c6a69781e6..674ab2a469f22d96f265a20fdece0016e3bc52a7 100644
|
| --- a/sdk/lib/core/num.dart
|
| +++ b/sdk/lib/core/num.dart
|
| @@ -142,12 +142,30 @@ abstract class num implements Comparable<num> {
|
| /** Relational greater than or equal operator. */
|
| bool operator >=(num other);
|
|
|
| + /** True if the number is the double Not-a-Number value; otherwise, false. */
|
| bool get isNaN;
|
|
|
| + /**
|
| + * True if the number is negative; otherwise, false.
|
| + *
|
| + * Negative numbers are those less than zero, and the double `-0.0`.
|
| + */
|
| bool get isNegative;
|
|
|
| + /**
|
| + * True if the number is positive infinity or negative infinity; otherwise,
|
| + * false.
|
| + */
|
| bool get isInfinite;
|
|
|
| + /**
|
| + * True if the number is finite; otherwise, false.
|
| + *
|
| + * The only non-finite numbers are NaN, positive infinitity and
|
| + * negative infinity.
|
| + */
|
| + bool get isFinite;
|
| +
|
| /** Returns the absolute value of this [num]. */
|
| num abs();
|
|
|
|
|