From 76ca754957d3feaa2410ea327e36d56c07233e77 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 31 Oct 2025 21:47:57 +0900 Subject: style: format --- src/NextAfter.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/NextAfter.php b/src/NextAfter.php index d985e6f..8bd6adc 100644 --- a/src/NextAfter.php +++ b/src/NextAfter.php @@ -84,9 +84,7 @@ final class NextAfter return self::minValue(); } $u = self::floatToInt($x); - return $x > 0.0 ? self::intToFloat($u + 1) : - self::intToFloat($u - 1); - + return $x > 0.0 ? self::intToFloat($u + 1) : self::intToFloat($u - 1); } /** @@ -120,9 +118,7 @@ final class NextAfter return -self::minValue(); } $u = self::floatToInt($x); - return $x > 0.0 ? self::intToFloat($u - 1) : - self::intToFloat($u + 1); - + return $x > 0.0 ? self::intToFloat($u - 1) : self::intToFloat($u + 1); } /** -- cgit v1.2.3-70-g09d2