- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 255 for 2xcomplex (0.23 sec)
-
src/cmd/compile/internal/types2/builtins.go
return false } return true }) { return } x.mode = novalue if check.recordTypes() { check.recordBuiltinType(call.Fun, makeSig(nil, x.typ)) } case _Complex: // complex(x, y floatT) complexT y := args[1] // convert or check untyped arguments d := 0 if isUntyped(x.typ) { d |= 1 } if isUntyped(y.typ) { d |= 2 } switch d {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
src/strconv/atoc.go
if x, ok := err.(*NumError); ok { x.Func = fnParseComplex x.Num = stringslite.Clone(s) if x.Err == ErrRange { return nil, x } } return err, nil } // ParseComplex converts the string s to a complex number // with the precision specified by bitSize: 64 for complex64, or 128 for complex128. // When bitSize=64, the result still has type complex128, but it will be // convertible to complex64 without changing its value. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 3.1K bytes - Viewed (0) -
test/ken/cplx3.go
// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test composition, decomposition, and reflection on complex numbers. package main import "unsafe" import "reflect" const ( R = 5 I = 6i C1 = R + I // ADD(5,6) ) func main() { c0 := C1 c0 = (c0 + c0 + c0) / (c0 + c0 + 3i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 888 bytes - Viewed (0) -
test/ken/cplx5.go
// license that can be found in the LICENSE file. // Test compound types made of complex numbers. package main var a [12]complex128 var s []complex128 var c chan complex128 var f struct { c complex128 } var m map[complex128]complex128 func main() { // array of complex128 for i := 0; i < len(a); i++ { a[i] = complex(float64(i), float64(-i)) } if a[5] != 5-5i { panic(a[5]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.1K bytes - Viewed (0) -
src/go/types/builtins.go
return false } return true }) { return } x.mode = novalue if check.recordTypes() { check.recordBuiltinType(call.Fun, makeSig(nil, x.typ)) } case _Complex: // complex(x, y floatT) complexT y := args[1] // convert or check untyped arguments d := 0 if isUntyped(x.typ) { d |= 1 } if isUntyped(y.typ) { d |= 2 } switch d {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
if (complex_element_ty.isF32()) { return DenseElementsAttr::get( scalar_ty, static_cast<std::complex<float>>(raw_value)); } else if (complex_element_ty.isF64()) { return DenseElementsAttr::get( scalar_ty, static_cast<std::complex<double>>(raw_value)); } } llvm_unreachable("unsupported type"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir
func.func @mirror_pad(%arg0: tensor<2x3xcomplex<f64>>) -> tensor<4x7xcomplex<f64>> { %0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32> // NO_FALLBACK: tf.MirrorPad // SUPPORTED_FALLBACK_DEVICE-NOT: tf.MirrorPad // UNSPECIFIED_FALLBACK_DEVICE: tf.MirrorPad // UNSUPPORTED_FALLBACK_DEVICE: tf.MirrorPad %1 = "tf.MirrorPad"(%arg0, %0) {mode = "SYMMETRIC"} : (tensor<2x3xcomplex<f64>>, tensor<2x2xi32>) -> tensor<4x7xcomplex<f64>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 3.2K bytes - Viewed (0) -
test/print.go
println(uint16(7)) // printuint println(uint8(7)) // printuint println(uint(7)) // printuint println(uintptr(7)) // printuint println(8.0) // printfloat println(complex(9.0, 10.0)) // printcomplex println(true) // printbool println(false) // printbool println("hello") // printstring println("one", "two") // printsp // test goprintf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 31 17:36:45 UTC 2018 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins_test.go
{"complex", `_ = complex(1, 0)`, `invalid type`}, // constant {"complex", `var re float32; _ = complex(re, 1.0)`, `func(float32, float32) complex64`}, {"complex", `var im float64; _ = complex(1, im)`, `func(float64, float64) complex128`}, {"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
} func.func @mul_complex32(%arg0: tensor<14xcomplex<f32>>, %arg1: tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>> { %0 = "tf.Mul"(%arg0, %arg1) : (tensor<14xcomplex<f32>>, tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>> func.return %0: tensor<14xcomplex<f32>> // CHECK-LABEL: mul_complex32 // CHECK: tfl.mul %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<14xcomplex<f32>> // CHECK: return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0)