huge64<N extends num> function

N huge64<N extends num>(
  1. N n
)

Implementation

N huge64<N extends num>(final N n) {
  return switch (n) {
    double() => double.maxFinite,
    int() => 0x7fffffffffffffff,
  } as N;
}