- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 262 for 3xcomplex (0.33 sec)
-
src/internal/types/testdata/examples/constraints.go
type ( Integer interface{ ~int|~int8|~int16|~int32|~int64 } Unsigned interface{ ~uint|~uint8|~uint16|~uint32|~uint64 } Floats interface{ ~float32|~float64 } Complex interface{ ~complex64|~complex128 } Number interface{ Integer|Unsigned|Floats|Complex } Ordered interface{ Integer|Unsigned|Floats|~string } _ interface{ Number | error /* ERROR "cannot use error in union" */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 2.9K bytes - Viewed (0) -
test/abi/fuzz_trailing_zero_field.go
// run // Copyright 2021 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. package main var p0exp = S1{ F1: complex(float64(2.3640607624715027), float64(-0.2717825524109192)), F2: S2{F1: 9}, F3: 103050709, } type S1 struct { F1 complex128 F2 S2 F3 uint64 } type S2 struct { F1 uint64 F2 empty }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 01 15:50:43 UTC 2021 - 551 bytes - Viewed (0) -
test/fixedbugs/issue17038.go
// errorcheck // Copyright 2016 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. package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 11 02:26:58 UTC 2022 - 248 bytes - Viewed (0) -
src/cmd/compile/internal/types2/gcsizes.go
panic("unreachable") } a := s.Sizeof(T) // may be 0 or negative // spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1." if a < 1 { return 1 } // complex{64,128} are aligned like [2]float{32,64}. if isComplex(T) { a /= 2 } if a > s.MaxAlign { return s.MaxAlign } return a } func (s *gcSizes) Offsetsof(fields []*Var) []int64 { offsets := make([]int64, len(fields))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/math_ops.h
AbstractTensorHandle* const y, AbstractTensorHandle** z, const char* name = nullptr, const char* raw_device_name = nullptr); // Returns the complex conjugate of a complex number. Status Conj(AbstractContext* ctx, AbstractTensorHandle* const input, AbstractTensorHandle** output, const char* name = nullptr, const char* raw_device_name = nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 10 19:11:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/text/template/parse/node.go
return nil, err } n.IsComplex = true n.simplifyComplex() return n, nil } // Imaginary constants can only be complex unless they are zero. if len(text) > 0 && text[len(text)-1] == 'i' { f, err := strconv.ParseFloat(text[:len(text)-1], 64) if err == nil { n.IsComplex = true n.Complex128 = complex(0, f) n.simplifyComplex() return n, nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
test/fixedbugs/issue5793.go
return 5, 7 } func appendArgs() ([]string, string) { return []string{"foo"}, "bar" } func appendMultiArgs() ([]byte, byte, byte) { return []byte{'a', 'b'}, '1', '2' } func main() { if c := complex(complexArgs()); c != 5+7i { panic(c) } if s := append(appendArgs()); len(s) != 2 || s[0] != "foo" || s[1] != "bar" { panic(s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 793 bytes - Viewed (0) -
test/fixedbugs/issue38117.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // cmd/compile erroneously rejected conversions of constant values // between int/float and complex types. package p const ( _ = int(complex64(int(0))) _ = float64(complex128(float64(0))) _ = int8(complex128(1000)) // ERROR "overflow|cannot convert"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 23:59:57 UTC 2020 - 433 bytes - Viewed (0) -
src/internal/fmtsort/sort.go
return cmp.Compare(aVal.String(), bVal.String()) case reflect.Float32, reflect.Float64: return cmp.Compare(aVal.Float(), bVal.Float()) case reflect.Complex64, reflect.Complex128: a, b := aVal.Complex(), bVal.Complex() if c := cmp.Compare(real(a), real(b)); c != 0 { return c } return cmp.Compare(imag(a), imag(b)) case reflect.Bool: a, b := aVal.Bool(), bVal.Bool() switch { case a == b: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:31:45 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/issue36233/issue36233.go
// Copyright 2022 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. package main // #include <complex.h> import "C" //export exportComplex64 func exportComplex64(v complex64) complex64 { return v } //export exportComplex128 func exportComplex128(v complex128) complex128 { return v } //export exportComplexfloat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 601 bytes - Viewed (0)