Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 6e5518446744 (0.11 sec)

  1. src/internal/types/testdata/fixedbugs/issue42695.go

    package issue42695
    
    const _ = 6e5518446744 // ERROR "malformed constant"
    const _ uint8 = 6e5518446744 // ERROR "malformed constant"
    
    var _ = 6e5518446744 // ERROR "malformed constant"
    var _ uint8 = 6e5518446744 // ERROR "malformed constant"
    
    func f(x int) int {
            return x + 6e5518446744 // ERROR "malformed constant"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 545 bytes
    - Viewed (0)
  2. test/fixedbugs/issue20232.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    const x = 6e5518446744 // ERROR "malformed constant: 6e5518446744"
    const _ = x * x
    const _ = 1e-1000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 18:46:43 UTC 2021
    - 375 bytes
    - Viewed (0)
  3. src/go/constant/value_test.go

    	`.0e-1 = .0`,
    	`.123E+10 = .123e10`,
    	`.0123E123 = .0123e123`,
    
    	`1_2_3.123 = 123.123`,
    	`0123.01_23 = 123.0123`,
    
    	`1e-1000000000 = 0`,
    	`1e+1000000000 = ?`,
    	`6e5518446744 = ?`,
    	`-6e5518446744 = ?`,
    
    	// hexadecimal floats
    	`0x0.p+0 = 0.`,
    	`0Xdeadcafe.p-10 = 0xdeadcafe/1024`,
    	`0x1234.P84 = 0x1234000000000000000000000`,
    
    	`0x.1p-0 = 1/16`,
    	`0X.deadcafep4 = 0xdeadcafe/0x10000000`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
Back to top