@@ -538,31 +538,33 @@ extension Decimal {
538
538
539
539
public var isCanonical : Bool { true }
540
540
541
- /// `true` iff `self` is negative.
541
+ /// `true` if `self` is negative, `false` otherwise .
542
542
public var isSignMinus : Bool { _isNegative != 0 }
543
543
544
- /// `true` iff `self` is +0.0 or -0.0.
544
+ /// `true` if `self` is +0.0 or -0.0, `false` otherwise .
545
545
public var isZero : Bool { _length == 0 && _isNegative == 0 }
546
546
547
- /// `true` iff `self` is subnormal.
547
+ /// `true` if `self` is subnormal, `false` otherwise .
548
548
public var isSubnormal : Bool { false }
549
549
550
- /// `true` iff `self` is normal (not zero, subnormal, infinity, or NaN).
550
+ /// `true` if `self` is normal (not zero, subnormal, infinity, or NaN),
551
+ /// `false` otherwise.
551
552
public var isNormal : Bool { !isZero && !isInfinite && !isNaN }
552
553
553
- /// `true` iff `self` is zero, subnormal, or normal (not infinity or NaN).
554
+ /// `true` if `self` is zero, subnormal, or normal (not infinity or NaN),
555
+ /// `false` otherwise.
554
556
public var isFinite : Bool { !isNaN }
555
557
556
- /// `true` iff `self` is infinity.
558
+ /// `true` if `self` is infinity, `false` otherwise .
557
559
public var isInfinite : Bool { false }
558
560
559
- /// `true` iff `self` is NaN.
561
+ /// `true` if `self` is NaN, `false` otherwise .
560
562
public var isNaN : Bool { _length == 0 && _isNegative == 1 }
561
563
562
- /// `true` iff `self` is a signaling NaN.
564
+ /// `true` if `self` is a signaling NaN, `false` otherwise .
563
565
public var isSignaling : Bool { false }
564
566
565
- /// `true` iff `self` is a signaling NaN.
567
+ /// `true` if `self` is a signaling NaN, `false` otherwise .
566
568
public var isSignalingNaN : Bool { false }
567
569
568
570
public func isEqual( to other: Decimal ) -> Bool {
0 commit comments