]> Cypherpunks repositories - gostls13.git/commit
math/big: avoid panic in float.Text with negative prec
authorAlberto Donizetti <alb.donizetti@gmail.com>
Wed, 1 Jun 2016 17:16:56 +0000 (19:16 +0200)
committerRobert Griesemer <gri@golang.org>
Wed, 1 Jun 2016 19:20:52 +0000 (19:20 +0000)
commit5db44c17a2391bbdfbc3c04e83e66025ca5dea3d
tree12c62de50e8b3352ae142c734d62f16e7190277d
parent77026ef902d3fa21597400d230701979bc1f0efc
math/big: avoid panic in float.Text with negative prec

Fixes #15918

Change-Id: I4b434aed262960a2e6c659d4c2296fbf662c3a52
Reviewed-on: https://go-review.googlesource.com/23633
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/big/floatconv_test.go
src/math/big/ftoa.go