Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 252 for fComplex128 (0.13 sec)

  1. test/maplinear.go

    		m := map[complex64]int{}
    		for i := 0; i < n; i++ {
    			m[complex(float32(i), float32(i))] = 1
    		}
    	})
    
    	// ~32ms on a 1.6GHz Zeon.
    	checkLinear("complex128", 10000, func(n int) {
    		m := map[complex128]int{}
    		for i := 0; i < n; i++ {
    			m[complex(float64(i), float64(i))] = 1
    		}
    	})
    
    	// ~70ms on a 1.6GHz Zeon.
    	// The iterate/delete idiom currently takes expected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/universe.go

    	Float32:       {Float32, IsFloat, "float32"},
    	Float64:       {Float64, IsFloat, "float64"},
    	Complex64:     {Complex64, IsComplex, "complex64"},
    	Complex128:    {Complex128, IsComplex, "complex128"},
    	String:        {String, IsString, "string"},
    	UnsafePointer: {UnsafePointer, 0, "Pointer"},
    
    	UntypedBool:    {UntypedBool, IsBoolean | IsUntyped, "untyped bool"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/go/types/universe.go

    	Float32:       {Float32, IsFloat, "float32"},
    	Float64:       {Float64, IsFloat, "float64"},
    	Complex64:     {Complex64, IsComplex, "complex64"},
    	Complex128:    {Complex128, IsComplex, "complex128"},
    	String:        {String, IsString, "string"},
    	UnsafePointer: {UnsafePointer, 0, "Pointer"},
    
    	UntypedBool:    {UntypedBool, IsBoolean | IsUntyped, "untyped bool"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/strconv/ctoa_test.go

    // license that can be found in the LICENSE file.
    
    package strconv_test
    
    import (
    	. "strconv"
    	"testing"
    )
    
    func TestFormatComplex(t *testing.T) {
    	tests := []struct {
    		c       complex128
    		fmt     byte
    		prec    int
    		bitSize int
    		out     string
    	}{
    		// a variety of signs
    		{1 + 2i, 'g', -1, 128, "(1+2i)"},
    		{3 - 4i, 'g', -1, 128, "(3-4i)"},
    		{-5 + 6i, 'g', -1, 128, "(-5+6i)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 30 00:13:25 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. test/fixedbugs/issue11674.go

    // license that can be found in the LICENSE file.
    
    // Issue 11674: cmd/compile: does not diagnose constant division by
    // zero
    
    package p
    
    const x complex64 = 0
    const y complex128 = 0
    
    var _ = x / 1e-20
    var _ = x / 1e-50   // GC_ERROR "division by zero"
    var _ = x / 1e-1000 // GC_ERROR "division by zero"
    var _ = x / 1e-20i
    var _ = x / 1e-50i   // GC_ERROR "division by zero"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/test_opkernels.cc

    namespace tf_mlrt {
    
    REGISTER_OP("TestAsyncIdentity")
        .Input("in: T")
        .Output("out: T")
        .Attr(
            "T: {bfloat16, half, float, double, uint8, int8, int16, uint32, int32, "
            "int64, complex64, complex128}")
        .SetShapeFn(::tensorflow::shape_inference::UnchangedShape);
    
    class TestAsyncIdentityKernel : public AsyncOpKernel {
     public:
      explicit TestAsyncIdentityKernel(OpKernelConstruction* context)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/encoding/gob/decgen.go

    	{
    		"complex64",
    		"Complex64",
    		`real := float32FromBits(state.decodeUint(), ovfl)
    		imag := float32FromBits(state.decodeUint(), ovfl)
    		slice[i] = complex(float32(real), float32(imag))`,
    	},
    	{
    		"complex128",
    		"Complex128",
    		`real := float64FromBits(state.decodeUint())
    		imag := float64FromBits(state.decodeUint())
    		slice[i] = complex(real, imag)`,
    	},
    	{
    		"float32",
    		"Float32",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradient_checker.cc

    INSTANTIATE_GRAD_ERR_TYPE(complex64, float, float);
    INSTANTIATE_GRAD_ERR_TYPE(float, complex64, float);
    INSTANTIATE_GRAD_ERR_TYPE(complex64, complex64, float);
    INSTANTIATE_GRAD_ERR_TYPE(complex128, complex128, double);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/go/types/basic.go

    	// predeclared types
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    	String
    	UnsafePointer
    
    	// types for untyped values
    	UntypedBool
    	UntypedInt
    	UntypedRune
    	UntypedFloat
    	UntypedComplex
    	UntypedString
    	UntypedNil
    
    	// aliases
    	Byte = Uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. test/makemap.go

    	sink = make(T, float64(1.0)) // ERROR "non-integer size argument in make.*|must be integer"
    	sink = make(T, 1+0i)
    	sink = make(T, complex64(1+0i))  // ERROR "non-integer size argument in make.*|must be integer"
    	sink = make(T, complex128(1+0i)) // ERROR "non-integer size argument in make.*|must be integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 23 00:41:01 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top