Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OverflowComplex (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top