src/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 | |
| 7 | package bits |
| 8 | |
| 9 | import _ "unsafe" |
| 10 | |
| 11 | //go:linkname overflowError runtime.overflowError |
| 12 | var overflowError error |
| 13 | |
| 14 | //go:linkname divideError runtime.divideError |
| 15 | var divideError error |