X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libgo%2Fgo%2Fstrconv%2Fatof.go;h=a91e8bfa4aaeb0d3ce81ac3bade6c861ff1c2918;hp=72f162c51344c5d4ce0a2413ad16f89ce2b4c978;hb=84911de8492fb75007eec6bfa4abb7905439f93c;hpb=ad33e6a8510b48571eaef50af339892925108830 diff --git a/libgo/go/strconv/atof.go b/libgo/go/strconv/atof.go index 72f162c5134..a91e8bfa4aa 100644 --- a/libgo/go/strconv/atof.go +++ b/libgo/go/strconv/atof.go @@ -2,16 +2,16 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Package strconv implements conversions to and from string representations +// of basic data types. +package strconv + // decimal to binary floating point conversion. // Algorithm: // 1) Store input in multiprecision decimal. // 2) Multiply/divide decimal by powers of two until in range [0.5, 1) // 3) Multiply by 2^precision and round to get mantissa. -// The strconv package implements conversions to and from -// string representations of basic data types. -package strconv - import ( "math" "os"