ifInfinite method
If this
number isInfinite returns n
. If NOT, returns this
.
Implementation
double ifInfinite(double n) => isInfinite ? n : this;
If this
number isInfinite returns n
. If NOT, returns this
.
double ifInfinite(double n) => isInfinite ? n : this;