Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 262 for 3xcomplex (0.11 sec)

  1. src/cmd/compile/internal/types2/basic.go

    type BasicInfo int
    
    // Properties of basic types.
    const (
    	IsBoolean BasicInfo = 1 << iota
    	IsInteger
    	IsUnsigned
    	IsFloat
    	IsComplex
    	IsString
    	IsUntyped
    
    	IsOrdered   = IsInteger | IsFloat | IsString
    	IsNumeric   = IsInteger | IsFloat | IsComplex
    	IsConstType = IsBoolean | IsNumeric | IsString
    )
    
    // A Basic represents a basic type.
    type Basic struct {
    	kind BasicKind
    	info BasicInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. test/gcgort.go

    		t: func() {
    			c := complex64(complex(float32(1.01), float32(1.01)))
    			for i := 0; i < mods; i++ {
    				c = complex(real(c)*1.01, imag(c)*1.01)
    				runtime.Gosched()
    			}
    		},
    		pointerT: func() {
    			a := func() *complex64 { return new(complex64) }()
    			*a = complex64(complex(float32(1.01), float32(1.01)))
    			for i := 0; i < mods; i++ {
    				*a *= complex(real(*a)*1.01, imag(*a)*1.01)
    				runtime.Gosched()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 21:15:48 UTC 2018
    - 34.5K bytes
    - Viewed (0)
  3. src/math/cmplx/conj.go

    // 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.
    
    package cmplx
    
    // Conj returns the complex conjugate of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 292 bytes
    - Viewed (0)
  4. test/fixedbugs/bug315.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 1368.
    
    package main
    
    func main() {
    	a := complex(2, 2)
    	a /= 2
    }
    
    /*
    bug315.go:13: internal compiler error: optoas: no entry DIV-complex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 321 bytes
    - Viewed (0)
  5. pkg/registry/rbac/validation/policy_compact_test.go

    		},
    
    		"complex, empty": {
    			Rule:     rbacv1.PolicyRule{},
    			Simple:   false,
    			Resource: simpleResource{},
    		},
    		"complex, no group": {
    			Rule:     rbacv1.PolicyRule{Verbs: []string{"get"}, APIGroups: []string{}, Resources: []string{"builds"}},
    			Simple:   false,
    			Resource: simpleResource{},
    		},
    		"complex, multi group": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 16:51:16 UTC 2020
    - 9.5K bytes
    - Viewed (0)
  6. test/fixedbugs/bug466.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    const N = 2+3i
    
    func Func() []complex128 {
    	return []complex128{1, complex(2, 3), complex(4, 5)}
    }
    
    func Mul(z complex128) complex128 {
    	return z * (3 + 4i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 330 bytes
    - Viewed (0)
  7. test/fixedbugs/bug307.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Valid program, gccgo reported an error.
    // bug307.go:14:6: error: complex arguments must have identical types
    
    package main
    
    func main() {
    	var f float64
    	_ = complex(1/f, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 352 bytes
    - Viewed (0)
  8. test/fixedbugs/issue4654.go

    	var x []int
    	defer append(x, 1) // ERROR "defer discards result of append|is not used"
    	defer cap(x) // ERROR "defer discards result of cap|is not used"
    	defer complex(1, 2) // ERROR "defer discards result of complex|is not used"
    	defer complex(f, 1) // ERROR "defer discards result of complex|is not used"
    	defer imag(1i) // ERROR "defer discards result of imag|is not used"
    	defer imag(c) // ERROR "defer discards result of imag|is not used"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.7K bytes
    - Viewed (0)
  9. src/debug/dwarf/testdata/typedef.c

    gcc -gdwarf-4 -m64 -c typedef.c -o typedef.macho4
    */
    #include <complex.h>
    
    typedef volatile int* t_ptr_volatile_int;
    typedef const char *t_ptr_const_char;
    typedef long t_long;
    typedef unsigned short t_ushort;
    typedef int t_func_int_of_float_double(float, double);
    typedef int (*t_ptr_func_int_of_float_double)(float, double);
    typedef int (*t_ptr_func_int_of_float_complex)(float complex);
    typedef int (*t_ptr_func_int_of_double_complex)(double complex);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. src/math/cmplx/tan.go

    		case math.IsInf(re, 0) || math.IsNaN(re):
    			return complex(math.Copysign(0, re), math.Copysign(1, im))
    		}
    		return complex(math.Copysign(0, math.Sin(2*re)), math.Copysign(1, im))
    	case re == 0 && math.IsNaN(im):
    		return x
    	}
    	d := math.Cos(2*real(x)) + math.Cosh(2*imag(x))
    	if math.Abs(d) < 0.25 {
    		d = tanSeries(x)
    	}
    	if d == 0 {
    		return Inf()
    	}
    	return complex(math.Sin(2*real(x))/d, math.Sinh(2*imag(x))/d)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
Back to top