big property

BigDouble get big

Converts this int instance to a BigDouble instance. Usage:

var bigBigBig = 3.big;

Implementation

BigDouble get big => switch (this) {
      0 => BigDouble.zero,
      1 => BigDouble.one,
      _ => BigDouble.fromValue(this.roundToDouble())
    };