Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Atof64 (0.21 sec)

  1. src/strconv/atof.go

    		return 0, n, syntaxError(fnParseFloat, s)
    	}
    	b, ovf := d.floatBits(&float32info)
    	f = math.Float32frombits(uint32(b))
    	if ovf {
    		err = rangeError(fnParseFloat, s)
    	}
    	return f, n, err
    }
    
    func atof64(s string) (f float64, n int, err error) {
    	if val, n, ok := special(s); ok {
    		return val, n, nil
    	}
    
    	mantissa, exp, neg, trunc, hex, n, ok := readFloat(s)
    	if !ok {
    		return 0, n, syntaxError(fnParseFloat, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  2. src/runtime/string.go

    	}
    
    	return n, true
    }
    
    // atoi is like atoi64 but for integers
    // that fit into an int.
    func atoi(s string) (int, bool) {
    	if n, ok := atoi64(s); n == int64(int(n)) {
    		return int(n), ok
    	}
    	return 0, false
    }
    
    // atoi32 is like atoi but for integers
    // that fit into an int32.
    func atoi32(s string) (int32, bool) {
    	if n, ok := atoi64(s); n == int64(int32(n)) {
    		return int32(n), ok
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. test/ken/convert.go

    	{ tf32, tf32, 10 }, { tf32, tf64, 10 },
    
    	{ tf64, ti8,  10 }, { tf64, tu8,  10 }, { tf64, ti16, 10 }, { tf64, tu16, 10 },
    	{ tf64, ti32, 10 }, { tf64, tu32, 10 }, { tf64, ti64, 10 }, { tf64, tu64, 10 },
    	{ tf64, tf32, 10 }, { tf64, tf64, 10 },
    
    	/* value good in all signed types (-4) */
    	{ ti8,  ti8,  -4 }, { ti8,  ti16, -4 },
    	{ ti8,  ti32, -4 }, { ti8,  ti64, -4 },
    	{ ti8,  tf32, -4 }, { ti8,  tf64, -4 },
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (Lsh64x(32|16|8) [c] x y) => (Lsh64x64 [c] x (ZeroExt(32|16|8)to64 y))
    
    (Lsh32x64 ...) => (Lsh64x64 ...)
    (Lsh32x(32|16|8) [c] x y) => (Lsh64x64 [c] x (ZeroExt(32|16|8)to64 y))
    
    (Lsh16x64 ...) => (Lsh64x64 ...)
    (Lsh16x(32|16|8) [c] x y) => (Lsh64x64 [c] x (ZeroExt(32|16|8)to64 y))
    
    (Lsh8x64 ...) => (Lsh64x64 ...)
    (Lsh8x(32|16|8) [c] x y) => (Lsh64x64 [c] x (ZeroExt(32|16|8)to64 y))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top