libgo/go/math/bits/bits_errors.go
raw| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build !compiler_bootstrap |
| 6 | // +build !compiler_bootstrap |
| 7 | |
| 8 | package bits |
| 9 | |
| 10 | import _ "unsafe" |
| 11 | |
| 12 | //go:linkname getOverflowError runtime.getOverflowError |
| 13 | func getOverflowError() error |
| 14 | |
| 15 | //go:linkname getDivideError runtime.getDivideError |
| 16 | func getDivideError() error |