From 3f2809e240d9befa456e80fd3343c342da4e7057 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 8 Mar 2025 04:56:04 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.9.3 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 4b1d4766..bacfe013 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.6 +version = 3.9.3 align.preset = more assumeStandardLibraryStripMargin = true From ba91ed08b8a34266f03b1061036db5644bbbcf47 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 8 Mar 2025 04:56:40 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.9.3 Executed command: scalafmt --non-interactive --- core/src/main/scala/io/bullet/borer/Float16.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/scala/io/bullet/borer/Float16.scala b/core/src/main/scala/io/bullet/borer/Float16.scala index abfe4387..5034949a 100644 --- a/core/src/main/scala/io/bullet/borer/Float16.scala +++ b/core/src/main/scala/io/bullet/borer/Float16.scala @@ -40,10 +40,10 @@ object Float16: else if (mant != 0) // && exp==0 -> subnormal exp = 0x1C400 // make it normal while ({ - mant <<= 1 // mantissa * 2 - exp -= 0x400 // decrease exp by 1 - (mant & 0x400) == 0 // while not normal - }) {} + mant <<= 1 // mantissa * 2 + exp -= 0x400 // decrease exp by 1 + (mant & 0x400) == 0 // while not normal + }) {} mant &= 0x3FF // discard subnormal bit java.lang.Float.intBitsToFloat((hbits & 0x8000) << 16 | (exp | mant) << 13) From d4feaed7e31e6547cb6f3adeecaacf2baf23d696 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 8 Mar 2025 04:56:40 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.9.3' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..6150e2e6 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.9.3 +ba91ed08b8a34266f03b1061036db5644bbbcf47