Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AppendFloat (0.21 sec)

  1. internal/s3select/json/record.go

    	// and exponents themselves are not padded to two digits.
    	abs := math.Abs(f)
    	fmt := byte('f')
    	if abs != 0 {
    		if abs < 1e-6 || abs >= 1e21 {
    			fmt = 'e'
    		}
    	}
    	dst = strconv.AppendFloat(dst, f, fmt, -1, 64)
    	if fmt == 'e' {
    		// clean up e-09 to e-9
    		n := len(dst)
    		if n >= 4 && dst[n-4] == 'e' && dst[n-3] == '-' && dst[n-2] == '0' {
    			dst[n-2] = dst[n-1]
    			dst = dst[:n-1]
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg sort, type Interface interface, Swap(int, int)
    pkg sort, type StringSlice []string
    pkg strconv, const IntSize ideal-int
    pkg strconv, func AppendBool([]uint8, bool) []uint8
    pkg strconv, func AppendFloat([]uint8, float64, uint8, int, int) []uint8
    pkg strconv, func AppendInt([]uint8, int64, int) []uint8
    pkg strconv, func AppendQuote([]uint8, string) []uint8
    pkg strconv, func AppendQuoteRune([]uint8, int32) []uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top