Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for 123Ki (0.05 sec)

  1. src/cmd/compile/internal/syntax/scanner_test.go

    		{FloatLit, "0p0", "0p0", "'p' exponent requires hexadecimal mantissa"},
    		{FloatLit, "1.0P-1", "1.0P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{ImagLit, "0.i", "0.i", ""},
    		{ImagLit, ".123i", ".123i", ""},
    		{ImagLit, "123.123i", "123.123i", ""},
    		{ImagLit, "123e+0i", "123e+0i", ""},
    		{ImagLit, "123.E-10i", "123.E-10i", ""},
    		{ImagLit, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    		{IntLit, "0x0", "0x0", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  2. src/go/format/format_test.go

    // Test that it is so even when numbers are normalized.
    func TestNodeNoModify(t *testing.T) {
    	const (
    		src    = "package p\n\nconst _ = 0000000123i\n"
    		golden = "package p\n\nconst _ = 123i\n"
    	)
    
    	fset := token.NewFileSet()
    	file, err := parser.ParseFile(fset, "", src, parser.ParseComments)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Capture original address and value of a BasicLit node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:46 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. src/go/scanner/scanner_test.go

    		{token.FLOAT, "1.0P-1", "1.0P-1", "'P' exponent requires hexadecimal mantissa"},
    
    		{token.IMAG, "0.i", "0.i", ""},
    		{token.IMAG, ".123i", ".123i", ""},
    		{token.IMAG, "123.123i", "123.123i", ""},
    		{token.IMAG, "123e+0i", "123e+0i", ""},
    		{token.IMAG, "123.E-10i", "123.E-10i", ""},
    		{token.IMAG, ".123E+10i", ".123E+10i", ""},
    
    		// hexadecimals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    6.67428e-11i
    1E6i
    .25i
    .12345E+5i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    0o123i        // == 0o123 * 1i == 83i
    0xabci        // == 0xabc * 1i == 2748i
    0.i
    2.71828i
    1.e+0i
    6.67428e-11i
    1E6i
    .25i
    .12345E+5i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top