max method

double max(
  1. double other
)

Implementation

double max(double other) => this > other ? this : other;