Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for convertFloat (0.28 sec)

  1. src/fmt/scan.go

    }
    
    func hasX(s string) bool {
    	for i := 0; i < len(s); i++ {
    		if s[i] == 'x' || s[i] == 'X' {
    			return true
    		}
    	}
    	return false
    }
    
    // convertFloat converts the string to a float64value.
    func (s *ss) convertFloat(str string, n int) float64 {
    	// strconv.ParseFloat will handle "+0x1.fp+2",
    	// but we have to implement our non-standard
    	// decimal+binary exponent mix (1.2p4) ourselves.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top