Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AppendFloat (0.13 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]
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top