- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for IsComplex (0.37 sec)
-
src/cmd/compile/internal/types/type.go
return true } return false } func (t *Type) IsFloat() bool { return t.kind == TFLOAT32 || t.kind == TFLOAT64 || t == UntypedFloat } func (t *Type) IsComplex() bool { return t.kind == TCOMPLEX64 || t.kind == TCOMPLEX128 || t == UntypedComplex } // IsPtr reports whether t is a regular Go pointer type. // This does not include unsafe.Pointer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
func walkDivMod(n *ir.BinaryExpr, init *ir.Nodes) ir.Node { n.X = walkExpr(n.X, init) n.Y = walkExpr(n.Y, init) // rewrite complex div into function call. 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]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/go/types/expr.go
x.mode = invalid return } // check for divisor underflow in complex division (see go.dev/issue/20227) if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) { re, im := constant.Real(y.val), constant.Imag(y.val) re2, im2 := constant.BinaryOp(re, token.MUL, re), constant.BinaryOp(im, token.MUL, im) if constant.Sign(re2) == 0 && constant.Sign(im2) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
x.mode = invalid return } // check for divisor underflow in complex division (see go.dev/issue/20227) if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) { re, im := constant.Real(y.val), constant.Imag(y.val) re2, im2 := constant.BinaryOp(re, token.MUL, re), constant.BinaryOp(im, token.MUL, im) if constant.Sign(re2) == 0 && constant.Sign(im2) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Int", Const, 5}, {"Int16", Const, 5}, {"Int32", Const, 5}, {"Int64", Const, 5}, {"Int8", Const, 5}, {"Interface", Type, 5}, {"Invalid", Const, 5}, {"IsBoolean", Const, 5}, {"IsComplex", Const, 5}, {"IsConstType", Const, 5}, {"IsFloat", Const, 5}, {"IsInteger", Const, 5}, {"IsInterface", Func, 5}, {"IsNumeric", Const, 5}, {"IsOrdered", Const, 5}, {"IsString", Const, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
MATCH(DT_STRING, string); // TODO(b/188995810): DenseElementsAttr::get doesn't support complex // Attributes being passed, so we bail out for now. This should just be // MATCH(DT_COMPLEX64, scomplex) / 2; // MATCH(DT_COMPLEX128, dcomplex) / 2; // when DenseElementsAttr is updated. case DT_COMPLEX64: case DT_COMPLEX128: default: return -1; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
api/go1.txt
pkg text/template/parse, type NumberNode struct, Float64 float64 pkg text/template/parse, type NumberNode struct, Int64 int64 pkg text/template/parse, type NumberNode struct, IsComplex bool pkg text/template/parse, type NumberNode struct, IsFloat bool pkg text/template/parse, type NumberNode struct, IsInt bool pkg text/template/parse, type NumberNode struct, IsUint bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)