]> Cypherpunks repositories - gostls13.git/commit
fmt: document that Scan etc. accept 'p' format floats
authorAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 16 Apr 2018 11:35:35 +0000 (13:35 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 17 Apr 2018 07:38:28 +0000 (07:38 +0000)
commit9bff50575e8bf5bf84ade26f737ffa47379b4604
tree0d1ad14161e89f866c6449ffd604f9bd1e90a474
parent155aefe0c182f3788e44596db5f09cf94d2c6a3e
fmt: document that Scan etc. accept 'p' format floats

In the Scan functions documentation, clarify that for float/complex
literals in scientific notation both decimal (e) and binary (p)
exponents are accepted.

Fixes #24453

Change-Id: Ic6dcdb0c36e088ffb65177038aff7a57ab56b805
Reviewed-on: https://go-review.googlesource.com/107416
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/doc.go