Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for float (0.26 sec)

  1. src/cmd/cgo/doc.go

    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    C.complexfloat (complex float), and C.complexdouble (complex double).
    The C type void* is represented by Go's unsafe.Pointer.
    The C types __int128_t and __uint128_t are represented by [16]byte.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    the literal value.
    </p>
    
    <pre class="ebnf">
    float_lit         = decimal_float_lit | hex_float_lit .
    
    decimal_float_lit = decimal_digits "." [ decimal_digits ] [ decimal_exponent ] |
                        decimal_digits decimal_exponent |
                        "." decimal_digits [ decimal_exponent ] .
    decimal_exponent  = ( "e" | "E" ) [ "+" | "-" ] decimal_digits .
    
    hex_float_lit     = "0" ( "x" | "X" ) hex_mantissa hex_exponent .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    			p.errorf("missing closing paren")
    		}
    		return v
    	case '+':
    		return +p.floatExpr()
    	case '-':
    		return -p.floatExpr()
    	case scanner.Float:
    		return p.atof(tok.String())
    	}
    	p.errorf("unexpected %s evaluating float expression", tok)
    	return 0
    }
    
    // term = factor | factor ('*' | '/' | '%' | '>>' | '<<' | '&') factor
    func (p *Parser) term() uint64 {
    	value := p.factor()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // for any integer type: int, uint, int8 etc.
    type IntegerType int
    
    // FloatType is here for the purposes of documentation only. It is a stand-in
    // for either float type: float32 or float64.
    type FloatType float32
    
    // ComplexType is here for the purposes of documentation only. It is a
    // stand-in for either complex type: complex64 or complex128.
    type ComplexType complex64
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    the literal value.
    </p>
    
    <pre class="ebnf">
    float_lit         = decimal_float_lit | hex_float_lit .
    
    decimal_float_lit = decimal_digits "." [ decimal_digits ] [ decimal_exponent ] |
                        decimal_digits decimal_exponent |
                        "." decimal_digits [ decimal_exponent ] .
    decimal_exponent  = ( "e" | "E" ) [ "+" | "-" ] decimal_digits .
    
    hex_float_lit     = "0" ( "x" | "X" ) hex_mantissa hex_exponent .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	DCBT (R3)                       // 7c001a2c
    	ICBI (R3)(R4)                   // 7c041fac
    	ICBI (R3)(R0)                   // 7c001fac
    	ICBI (R3)                       // 7c001fac
    
    	// float constants
    	FMOVD $(0.0), F1                // f0210cd0
    	FMOVD $(-0.0), F1               // f0210cd0fc200850
    
    	FMOVD 8(R3), F1                 // c8230008
    	FMOVD (R3)(R4), F1              // 7c241cae
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			s = "ideal-int"
    		case types.UntypedRune:
    			// "ideal-char" for compatibility with old tool
    			// TODO(gri) change to "ideal-rune"
    			s = "ideal-char"
    		case types.UntypedFloat:
    			s = "ideal-float"
    		case types.UntypedComplex:
    			s = "ideal-complex"
    		case types.UntypedString:
    			s = "ideal-string"
    		case types.UntypedNil:
    			panic("should never see untyped nil type")
    		default:
    			switch s {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    		nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string))
    	case obj.TYPE_ADDR:
    		if sz == p.arch.PtrSize {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top