Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for float32 (0.39 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    uint(iota)               // iota value of type uint
    float32(2.718281828)     // 2.718281828 of type float32
    complex128(1)            // 1.0 + 0.0i of type complex128
    float32(0.49999999)      // 0.5 of type float32
    float64(-1e-1000)        // 0.0 of type float64
    string('x')              // "x" of type string
    string(0x266c)           // "♬" of type string
    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)
  2. src/builtin/builtin.go

    type int64 int64
    
    // float32 is the set of all IEEE 754 32-bit floating-point numbers.
    type float32 float32
    
    // float64 is the set of all IEEE 754 64-bit floating-point numbers.
    type float64 float64
    
    // complex64 is the set of all complex numbers with float32 real and
    // imaginary parts.
    type complex64 complex64
    
    // complex128 is the set of all complex numbers with float64 real and
    // imaginary parts.
    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)
  3. api/go1.22.txt

    pkg log/slog, func SetLogLoggerLevel(Level) Level #62418
    pkg math/big, method (*Rat) FloatPrec() (int, bool) #50489
    pkg math/rand/v2, func ExpFloat64() float64 #61716
    pkg math/rand/v2, func Float32() float32 #61716
    pkg math/rand/v2, func Float64() float64 #61716
    pkg math/rand/v2, func Int() int #61716
    pkg math/rand/v2, func Int32() int32 #61716
    pkg math/rand/v2, func Int32N(int32) int32 #61716
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    yields a typed constant.
    </p>
    
    <pre>
    uint(iota)               // iota value of type uint
    float32(2.718281828)     // 2.718281828 of type float32
    complex128(1)            // 1.0 + 0.0i of type complex128
    float32(0.49999999)      // 0.5 of type float32
    float64(-1e-1000)        // 0.0 of type float64
    string('x')              // "x" of type string
    string(0x266c)           // "♬" of type string
    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)
  5. 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)
  6. src/cmd/asm/internal/asm/asm.go

    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		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))
    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)
  7. 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)
  8. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) floatExpr() float64 {
    	tok := p.next()
    	switch tok.ScanToken {
    	case '(':
    		v := p.floatExpr()
    		if p.next().ScanToken != ')' {
    			p.errorf("missing closing paren")
    		}
    		return v
    	case '+':
    		return +p.floatExpr()
    	case '-':
    		return -p.floatExpr()
    	case scanner.Float:
    		return p.atof(tok.String())
    	}
    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)
  9. 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)
  10. api/next/60427.txt

    pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
    pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
    pkg reflect, type Type interface, OverflowInt(int64) bool #60427
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 28 14:08:38 GMT 2024
    - 275 bytes
    - Viewed (0)
Back to top