Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for OverflowComplex (0.17 sec)

  1. doc/next/6-stdlib/99-minor/reflect/60427.md

    The new methods synonymous with the method of the same name
    in [Value] are added to [Type]:
    1. [Type.OverflowComplex]
    2. [Type.OverflowFloat]
    3. [Type.OverflowInt]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 187 bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056
    pkg reflect, type Type interface, CanSeq() bool #66056
    pkg reflect, type Type interface, CanSeq2() bool #66056
    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
    pkg reflect, type Type interface, OverflowUint(uint64) bool #60427
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/inl_test.go

    			"Value.Complex",
    			"Value.Float",
    			"Value.Int",
    			"Value.Interface",
    			"Value.IsNil",
    			"Value.IsValid",
    			"Value.Kind",
    			"Value.Len",
    			"Value.MapRange",
    			"Value.OverflowComplex",
    			"Value.OverflowFloat",
    			"Value.OverflowInt",
    			"Value.OverflowUint",
    			"Value.String",
    			"Value.Type",
    			"Value.Uint",
    			"Value.UnsafeAddr",
    			"Value.pointer",
    			"add",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/reflect/type.go

    	// It panics if the type's Kind is not Func.
    	// It panics if i is not in the range [0, NumOut()).
    	Out(i int) Type
    
    	// OverflowComplex reports whether the complex128 x cannot be represented by type t.
    	// It panics if t's Kind is not Complex64 or Complex128.
    	OverflowComplex(x complex128) bool
    
    	// OverflowFloat reports whether the float64 x cannot be represented by type t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/reflect/value.go

    	v.mustBe(Struct)
    	tt := (*structType)(unsafe.Pointer(v.typ()))
    	return len(tt.Fields)
    }
    
    // OverflowComplex reports whether the complex128 x cannot be represented by v's type.
    // It panics if v's Kind is not [Complex64] or [Complex128].
    func (v Value) OverflowComplex(x complex128) bool {
    	k := v.kind()
    	switch k {
    	case Complex64:
    		return overflowFloat32(real(x)) || overflowFloat32(imag(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    	shouldPanic("call of reflect.Value.NumMethod on zero Value", func() { vo(nil).NumMethod() })
    	shouldPanic("call of reflect.Value.OverflowComplex on float64 Value", func() { vo(float64(0)).OverflowComplex(0) })
    	shouldPanic("call of reflect.Value.OverflowFloat on int64 Value", func() { vo(int64(0)).OverflowFloat(0) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Value).MapRange", Method, 12},
    		{"(Value).Method", Method, 0},
    		{"(Value).MethodByName", Method, 0},
    		{"(Value).NumField", Method, 0},
    		{"(Value).NumMethod", Method, 0},
    		{"(Value).OverflowComplex", Method, 0},
    		{"(Value).OverflowFloat", Method, 0},
    		{"(Value).OverflowInt", Method, 0},
    		{"(Value).OverflowUint", Method, 0},
    		{"(Value).Pointer", Method, 0},
    		{"(Value).Recv", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top