Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 368 for 1e10 (0.3 sec)

  1. src/runtime/malloc_test.go

    		"Alloc": {nz, le(1e10)}, "TotalAlloc": {nz, le(1e11)}, "Sys": {nz, le(1e10)},
    		"Lookups": {eq(uint64(0))}, "Mallocs": {nz, le(1e10)}, "Frees": {nz, le(1e10)},
    		"HeapAlloc": {nz, le(1e10)}, "HeapSys": {nz, le(1e10)}, "HeapIdle": {le(1e10)},
    		"HeapInuse": {nz, le(1e10)}, "HeapReleased": {le(1e10)}, "HeapObjects": {nz, le(1e10)},
    		"StackInuse": {nz, le(1e10)}, "StackSys": {nz, le(1e10)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    							{Offset: 1e10, Length: 1e10 - 100},
    							{Offset: 2e10, Length: 1e10 - 100},
    							{Offset: 3e10, Length: 1e10 - 100},
    							{Offset: 4e10, Length: 1e10 - 100},
    							{Offset: 5e10, Length: 1e10 - 100},
    						},
    					}, nil},
    					testReadFrom{fileOps{
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  3. src/math/big/floatconv_test.go

    		{"0e100", 0},
    		{"-0e+100", -zero_},
    		{"+0e-100", 0},
    		{"0E100", 0},
    		{"-0E+100", -zero_},
    		{"+0E-100", 0},
    
    		// various decimal exponent formats
    		{"1.e10", 1e10},
    		{"1e+10", 1e10},
    		{"+1e-10", 1e-10},
    		{"1E10", 1e10},
    		{"1.E+10", 1e10},
    		{"+1E-10", 1e-10},
    
    		// infinities
    		{"Inf", inf},
    		{"+Inf", inf},
    		{"-Inf", -inf},
    		{"inf", inf},
    		{"+inf", inf},
    		{"-inf", -inf},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 24.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue9036.go

    // Expects to see error messages on 'p' exponents
    // for non-hexadecimal floats.
    
    package main
    
    import "fmt"
    
    const (
    	x1 = 1.1    // float
    	x2 = 1e10   // float
    	x3 = 0x1e10 // integer (e is a hex digit)
    )
    
    const x4 = 0x1p10 // valid hexadecimal float
    const x5 = 1p10   // ERROR "'p' exponent requires hexadecimal mantissa|invalid prefix"
    const x6 = 0P0    // ERROR "'P' exponent requires hexadecimal mantissa|invalid prefix"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 805 bytes
    - Viewed (0)
  5. test/fixedbugs/issue43480.go

    // Issue #43480: ICE on large uint64 constants in switch cases.
    
    package main
    
    func isPow10(x uint64) bool {
    	switch x {
    	case 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
    		1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19:
    		return true
    	}
    	return false
    }
    
    func main() {
    	var x uint64 = 1
    
    	for {
    		if !isPow10(x) || isPow10(x-1) || isPow10(x+1) {
    			panic(x)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 04 10:30:07 UTC 2021
    - 626 bytes
    - Viewed (0)
  6. test/fixedbugs/issue13559.go

    	_ int64 = 1e1000     // ERROR "integer too large|truncated to int64|truncated"
    	_ int64 = 1e100      // ERROR "10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 overflows|truncated to int64|truncated"
    	_ int64 = 1e10
    	_ int64 = 1e1
    	_ int64 = 1e0
    	_ int64 = 1e-1       // ERROR "0\.1 truncated|.* truncated to int64|truncated"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  7. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(uintptr(0)), 0, 1, 5),
    	ct(reflect.TypeOf(string("")), "", "a", "ab"),
    	ct(reflect.TypeOf(float32(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(float64(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(complex64(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/math/pow10.go

    var pow10tab = [...]float64{
    	1e00, 1e01, 1e02, 1e03, 1e04, 1e05, 1e06, 1e07, 1e08, 1e09,
    	1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
    	1e20, 1e21, 1e22, 1e23, 1e24, 1e25, 1e26, 1e27, 1e28, 1e29,
    	1e30, 1e31,
    }
    
    // pow10postab32 stores the pre-computed value for 10**(i*32) at index i.
    var pow10postab32 = [...]float64{
    	1e00, 1e32, 1e64, 1e96, 1e128, 1e160, 1e192, 1e224, 1e256, 1e288,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. test/literal.go

    	var f00 float32 = 3.14159
    	var f01 float32 = -3.14159
    	var f02 float32 = +3.14159
    	var f03 float32 = 0.0
    	var f04 float32 = .0
    	var f05 float32 = 0.
    	var f06 float32 = -0.0
    	var f07 float32 = 1e10
    	var f08 float32 = -1e10
    	var f09 float32 = 1e-10
    	var f10 float32 = 1e+10
    	var f11 float32 = 1.e-10
    	var f12 float32 = 1.e+10
    	var f13 float32 = .1e-10
    	var f14 float32 = .1e+10
    	var f15 float32 = 1.1e-10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  10. src/strconv/atof.go

    	}
    	return bits, overflow
    }
    
    // Exact powers of 10.
    var float64pow10 = []float64{
    	1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
    	1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
    	1e20, 1e21, 1e22,
    }
    var float32pow10 = []float32{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10}
    
    // If possible to convert decimal representation to 64-bit float f exactly,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
Back to top