Browse Source

Remove useless check (compilation will fail anyway on 32 bits systems)

pull/735/head
xpetit 3 years ago
parent
commit
26aeb18428
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 7
      go/tests/lib/lib.go

7
go/tests/lib/lib.go

@ -5,7 +5,6 @@ import (
"fmt"
"io"
"math/big"
"math/bits"
"math/rand"
"os"
"os/exec"
@ -17,12 +16,6 @@ import (
"unicode/utf8"
)
func init() {
if bits.UintSize != 64 {
panic("only works on 64 bits CPU")
}
}
const (
MinInt = ^MaxInt
MaxInt = 1<<63 - 1

Loading…
Cancel
Save