Skip to content

Commit a847fc7

Browse files
committed
chore: update Go to 1.26
1 parent 391b1c4 commit a847fc7

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

convert_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ func TestShouldRound(t *testing.T) {
125125

126126
for _, tt := range tests {
127127
t.Run(tt.name, func(t *testing.T) {
128-
got := shouldRound(tt.mantissa, tt.shift, tt.sign)
128+
got := shouldRoundWithMode(tt.mantissa, tt.shift, tt.sign, tt.mode)
129129
if got != tt.shouldRound {
130-
t.Errorf("shouldRound(%d, %d, %d) = %v, want %v", tt.mantissa, tt.shift, tt.sign, got, tt.shouldRound)
130+
t.Errorf("shouldRoundWithMode(%d, %d, %d, %d) = %v, want %v", tt.mantissa, tt.shift, tt.sign, tt.mode, got, tt.shouldRound)
131131
}
132132
})
133133
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/zerfoo/float16
22

3-
go 1.25
3+
go 1.26

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
2-
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=

0 commit comments

Comments
 (0)