mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Assign values, not just messages, to status codes
This commit is contained in:
1 parent
86010a17e2
commit
634789722d
10 files changed
+103
-59
No files matched your search
+15
-14
@@ -35,20 +35,21 @@ var numTypeBounds = [...][2]*big.Int{
|
||||
}
|
||||
|
||||
var (
|
||||
minusOne = big.NewInt(-1)
|
||||
zero = big.NewInt(+0)
|
||||
one = big.NewInt(+1)
|
||||
two = big.NewInt(+2)
|
||||
three = big.NewInt(+3)
|
||||
four = big.NewInt(+4)
|
||||
five = big.NewInt(+5)
|
||||
six = big.NewInt(+6)
|
||||
seven = big.NewInt(+7)
|
||||
eight = big.NewInt(+8)
|
||||
sixteen = big.NewInt(+16)
|
||||
thirtyTwo = big.NewInt(+32)
|
||||
sixtyFour = big.NewInt(+64)
|
||||
ffff = big.NewInt(0xFFFF)
|
||||
minusOne = big.NewInt(-1)
|
||||
zero = big.NewInt(+0)
|
||||
one = big.NewInt(+1)
|
||||
two = big.NewInt(+2)
|
||||
three = big.NewInt(+3)
|
||||
four = big.NewInt(+4)
|
||||
five = big.NewInt(+5)
|
||||
six = big.NewInt(+6)
|
||||
seven = big.NewInt(+7)
|
||||
eight = big.NewInt(+8)
|
||||
sixteen = big.NewInt(+16)
|
||||
thirtyTwo = big.NewInt(+32)
|
||||
sixtyFour = big.NewInt(+64)
|
||||
oneTwentyEight = big.NewInt(+128)
|
||||
ffff = big.NewInt(0xFFFF)
|
||||
|
||||
maxIntBits = big.NewInt(t.MaxIntBits)
|
||||
|
||||
|
||||
Reference in new issue
Block a user