diff options
| author | Robert Griesemer <gri@golang.org> | 2015-04-21 12:47:11 -0700 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2015-04-22 13:11:07 +0000 |
| commit | 3f91a017f8f67cb9a744cf5d0a8b5db34a95808d (patch) | |
| tree | a52d1f9d5c0531aff62deaaf7ea002e4ff2cbfbc /src/runtime/sys_linux_amd64.s | |
| parent | 723f86537c362f2f86c82ae827f689c23b866f00 (diff) | |
| download | go-3f91a017f8f67cb9a744cf5d0a8b5db34a95808d.tar.xz | |
go/exact: future-proof API: permit setting precision limit
Added a prec parameter to MakeFromLiteral (which currently must
always be 0). This will permit go/types to provide an upper limit
for the precision of constant values, eventually. Overflows can be
returned with a special Overflow value (very much like the current
Unknown values).
This is a minimal change that should prevent the need for future
backward-incompatible API changes.
Change-Id: I6c9390d7cc4810375e26c53ed3bde5a383392330
Reviewed-on: https://go-review.googlesource.com/9168
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions
