Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for fComplex128 (0.17 sec)

  1. src/reflect/deepequal.go

    		return v1.Uint() == v2.Uint()
    	case String:
    		return v1.String() == v2.String()
    	case Bool:
    		return v1.Bool() == v2.Bool()
    	case Float32, Float64:
    		return v1.Float() == v2.Float()
    	case Complex64, Complex128:
    		return v1.Complex() == v2.Complex()
    	default:
    		// Normal equality suffices
    		return valueInterface(v1, false) == valueInterface(v2, false)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/internal/abi/type.go

    	Uint16:        "uint16",
    	Uint32:        "uint32",
    	Uint64:        "uint64",
    	Uintptr:       "uintptr",
    	Float32:       "float32",
    	Float64:       "float64",
    	Complex64:     "complex64",
    	Complex128:    "complex128",
    	Array:         "array",
    	Chan:          "chan",
    	Func:          "func",
    	Interface:     "interface",
    	Map:           "map",
    	Pointer:       "ptr",
    	Slice:         "slice",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/const.go

    			re := roundFloat32(constant.Real(x))
    			im := roundFloat32(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/encoding/binary/binary.go

    	case reflect.Bool,
    		reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64,
    		reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
    		reflect.Float32, reflect.Float64, reflect.Complex64, reflect.Complex128:
    		return int(t.Size())
    	}
    
    	return -1
    }
    
    type coder struct {
    	order  ByteOrder
    	buf    []byte
    	offset int
    }
    
    type decoder coder
    type encoder coder
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/text/template/exec.go

    		return false, true
    	}
    	switch val.Kind() {
    	case reflect.Array, reflect.Map, reflect.Slice, reflect.String:
    		truth = val.Len() > 0
    	case reflect.Bool:
    		truth = val.Bool()
    	case reflect.Complex64, reflect.Complex128:
    		truth = val.Complex() != 0
    	case reflect.Chan, reflect.Func, reflect.Pointer, reflect.Interface:
    		truth = !val.IsNil()
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    			types.Uintptr:
    			return m.t&argInt != 0
    
    		case types.UntypedFloat,
    			types.Float32,
    			types.Float64:
    			return m.t&argFloat != 0
    
    		case types.UntypedComplex,
    			types.Complex64,
    			types.Complex128:
    			return m.t&argComplex != 0
    
    		case types.UntypedString,
    			types.String:
    			return m.t&argString != 0
    
    		case types.UnsafePointer:
    			return m.t&(argPointer|argInt) != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. 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)
  8. src/go/types/const.go

    			re := roundFloat32(constant.Real(x))
    			im := roundFloat32(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/sizes.go

    	Int8:       1,
    	Int16:      2,
    	Int32:      4,
    	Int64:      8,
    	Uint8:      1,
    	Uint16:     2,
    	Uint32:     4,
    	Uint64:     8,
    	Float32:    4,
    	Float64:    8,
    	Complex64:  8,
    	Complex128: 16,
    }
    
    func (s *StdSizes) Sizeof(T Type) int64 {
    	switch t := under(T).(type) {
    	case *Basic:
    		assert(isTyped(T))
    		k := t.kind
    		if int(k) < len(basicSizes) {
    			if s := basicSizes[k]; s > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    	et := n.X.Type().Kind()
    
    	if types.IsComplex[et] && n.Op() == ir.ODIV {
    		t := n.Type()
    		call := mkcall("complex128div", types.Types[types.TCOMPLEX128], init, typecheck.Conv(n.X, types.Types[types.TCOMPLEX128]), typecheck.Conv(n.Y, types.Types[types.TCOMPLEX128]))
    		return typecheck.Conv(call, t)
    	}
    
    	// Nothing to do for float divisions.
    	if types.IsFloat[et] {
    		return n
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top