public static function mean(int $d₁, int $d₂) { if ($d₂ > 2) { return $d₂ / ($d₂ - 2); } return \NAN; }