Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 1e0 (0.03 sec)

  1. src/math/big/ratconv_test.go

    	{in: "4/3."},
    	{in: "4/"},
    	{in: "13e-9223372036854775808"}, // CVE-2022-23772
    
    	// valid
    	{"0", "0", true},
    	{"-0", "0", true},
    	{"1", "1", true},
    	{"-1", "-1", true},
    	{"1.", "1", true},
    	{"1e0", "1", true},
    	{"1.e1", "10", true},
    	{"-0.1", "-1/10", true},
    	{"-.1", "-1/10", true},
    	{"2/4", "1/2", true},
    	{".25", "1/4", true},
    	{"-1/5", "-1/5", true},
    	{"8129567.7690E14", "812956776900000000000", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. src/go/scanner/scanner_test.go

    		{token.FLOAT, "0x.0", "0x.0", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x1.1", "0x1.1", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x1.1e0", "0x1.1e0", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x1.2gp1a", "0x1.2 gp1a", "hexadecimal mantissa requires a 'p' exponent"},
    		{token.FLOAT, "0x0p", "0x0p", "exponent has no digits"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  3. src/math/big/nat_test.go

    		got := string(fibo(n).utoa(10))
    		if got != want {
    			t.Errorf("fibo(%d) failed: got %s want %s", n, got, want)
    		}
    	}
    }
    
    func BenchmarkFibo(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		fibo(1e0)
    		fibo(1e1)
    		fibo(1e2)
    		fibo(1e3)
    		fibo(1e4)
    		fibo(1e5)
    	}
    }
    
    var bitTests = []struct {
    	x    string
    	i    uint
    	want uint
    }{
    	{"0", 0, 0},
    	{"0", 1, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/compact/tables.go

    	0x2b800000, 0x2b8000b0, 0x2bf00000, 0x2bf0009c,
    	0x2bf0009d, 0x2c000000, 0x2c0000b7, 0x2c200000,
    	0x2c20004b, 0x2c400000, 0x2c4000a5, 0x2c500000,
    	0x2c5000a5, 0x2c700000, 0x2c7000b9, 0x2d100000,
    	// Entry 1E0 - 1FF
    	0x2d1000a5, 0x2d100130, 0x2e900000, 0x2e9000a5,
    	0x2ed00000, 0x2ed000cd, 0x2f100000, 0x2f1000c0,
    	0x2f200000, 0x2f2000d2, 0x2f400000, 0x2f400052,
    	0x2ff00000, 0x2ff000c3, 0x30400000, 0x3040009a,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top