summaryrefslogtreecommitdiff
path: root/src/go/constant
Commit message (Expand)AuthorAgeFilesLines
* cmd/compile: in compiler errors, print more digits for floats close to an intKeith Randall2022-10-201-1/+7
* go/constant: share the empty stringAlan Donovan2022-08-151-1/+8
* all: gofmt main repoRuss Cox2022-04-111-17/+16
* all: remove trailing blank doc comment linesRuss Cox2022-04-011-7/+0
* all: fix TODO comment hanging indentsRuss Cox2022-04-011-3/+3
* all: gofmt -w -r 'interface{} -> any' srcRuss Cox2021-12-132-4/+4
* all: use bytes.Cut, strings.CutRuss Cox2021-10-061-6/+6
* [dev.typeparams] go/constant: implement Kind.StringRobert Griesemer2021-05-172-0/+30
* [dev.typeparams] go/constant: faster match implementationRobert Griesemer2021-01-261-42/+25
* [dev.typeparams] go/constant: choose internal float representations more cons...Robert Griesemer2021-01-261-38/+59
* [dev.typeparams] go/constant: in ToFloat, convert to rational numbers, not fl...Robert Griesemer2021-01-251-2/+2
* [dev.regabi] merge master 4481ad6eb6 into dev.regabiRuss Cox2020-11-252-18/+66
|\
| * go/constant: MakeFloat64(0) must return a value of Float kindRobert Griesemer2020-11-252-5/+39
| * go/constant: make constant.Make produce "smallest" const representationRobert Griesemer2020-11-252-13/+27
* | [dev.regabi] go/constant: avoid heap allocations in matchMatthew Dempsky2020-11-241-15/+18
* | [dev.regabi] go/constant: optimize BitLenMatthew Dempsky2020-11-242-1/+27
|/
* go/types, go/constant: handle infinities as unknown valuesRobert Griesemer2020-11-202-6/+40
* go/constant: remove redundant octal & separator literals parsingvovapi2020-02-211-31/+0
* go/constant: add Val accessor and Make constructor to handle varied typesRebecca Stambler2019-03-063-0/+101
* go/constant: accept new Go2 number literalsRobert Griesemer2019-02-112-3/+179
* all: fix a bunch of misspellingsIgor Zhilianin2018-10-061-1/+1
* all: use strings.ReplaceAll and bytes.ReplaceAll where applicableBrad Fitzpatrick2018-09-261-1/+1
* strconv: check for empty string in UnquoteCharRebecca Stambler2018-06-041-0/+1
* go/constant: add examples for working with constant.Valuejimmyfrasche2018-03-191-0/+158
* go/constant: make string addition compute actual string lazilyRuss Cox2018-01-052-21/+104
* go/types, constant: remove superfluous import commentgriesemer2017-09-181-1/+1
* go/constant: avoid generating rats for large negative exponentsJosh Bleecher Snyder2017-05-042-1/+9
* go/constant: use new math/big.IsInt and isUint predicatesRobert Griesemer2017-02-081-7/+2
* go/constant: follow-up for https://go-review.googlesource.com/32870Robert Griesemer2016-11-071-10/+14
* go/constant: improved fatal error messagesRobert Griesemer2016-11-071-7/+5
* go/constant: document that BinaryOp doesn't handle comparisons or shiftsRobert Griesemer2016-11-051-0/+3
* go/constant: document that Value.String and ExactString return quoted stringsRobert Griesemer2016-09-071-2/+3
* math/big: special-case a 0 mantissa during Rat parsingNathan VanBenschoten2016-06-241-0/+1
* go/constant: fix typos in MakeFromLiteral docsMatthew Dempsky2016-03-011-2/+2
* go/constant: fix doc stringsRobert Griesemer2016-02-181-2/+2
* go/constant: fix String() implementationRobert Griesemer2016-02-082-1/+3
* go/constant: use Float.Rat method instead of doing it manuallyRobert Griesemer2015-12-162-35/+20
* go/constant: switch to floating-point representation when fractions become to...Robert Griesemer2015-12-142-189/+601
* go/types, go/constant: remove backward-compatibility files (cleanup)Robert Griesemer2015-08-263-39/+2
* go/constant: rename go/constantsAlan Donovan2015-05-114-0/+1337