Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for F64 (0.02 sec)

  1. src/internal/types/testdata/check/const1.go

    const (
    	f32 = 1 + smallestFloat32
    	x32 float32 = f32
    	y32 = float32(f32)
    	_ = assert(x32 - y32 == 0)
    )
    
    const (
    	f64 = 1 + smallestFloat64
    	x64 float64 = f64
    	y64 = float64(f64)
    	_ = assert(x64 - y64 == 0)
    )
    
    const (
    	_ = int8(-1) << 7
    	_ = int8 /* ERROR "overflows" */ (-1) << 8
    
    	_ = uint32(1) << 31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/go/types/builtins_test.go

    	{"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
    	{"complex", `type F64 float64; var re, im F64; _ = complex(re, im)`, `func(p.F64, p.F64) complex128`},
    
    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue43099.go

    		_ = s[0]
    		i++
    	}
    
    	var c chan int
    	c <- 1 % i
    }
    
    func f32() uint32 {
    	s := "\x00\x00\x00\x00"
    	c := uint32(s[0]) | uint32(s[1])<<8 | uint32(s[2])<<16 | uint32(s[3])<<24
    	return 1 / c
    }
    func f64() uint64 {
    	s := "\x00\x00\x00\x00\x00\x00\x00\x00"
    	c := uint64(s[0]) | uint64(s[1])<<8 | uint64(s[2])<<16 | uint64(s[3])<<24 | uint64(s[4])<<32 | uint64(s[5])<<40 | uint64(s[6])<<48 | uint64(s[7])<<56
    	return 1 / c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 03:18:00 UTC 2020
    - 858 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/builtins_test.go

    	{"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
    	{"complex", `type F64 float64; var re, im F64; _ = complex(re, im)`, `func(p.F64, p.F64) complex128`},
    
    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

    }
    
    // CHECK-LABEL: QuantizeAssignVariableWithDequantAndNotEqualType
    func.func @QuantizeAssignVariableWithDequantAndNotEqualType(%arg0 : tensor<1x2x1x3x!quant.uniform<i8:f64, 1.0>>) -> tensor<1x2x1x3x!quant.uniform<i8:f64, 1.0>> {
      %1 = "tfl.var_handle"() : () -> tensor<!tf_type.resource>
      %2 = "tfl.read_variable"(%1) : (tensor<!tf_type.resource>) -> tensor<1x2x1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      // CHECK-LABEL: mirror_pad
      func.func @mirror_pad(%arg0: tensor<2x3xcomplex<f64>>) -> tensor<4x7xcomplex<f64>> {
        %0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32>
        // CHECK-NOT: tf.MirrorPad
        %1 = "tf.MirrorPad"(%arg0, %0) {mode = "SYMMETRIC"} : (tensor<2x3xcomplex<f64>>, tensor<2x2xi32>) -> tensor<4x7xcomplex<f64>>
        func.return %1 : tensor<4x7xcomplex<f64>>
      }
    
      // CHECK-LABEL: bucketize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. test/codegen/math.go

    func fnma(x, y, z float64) float64 {
    	// riscv64:"FNMADDD",-"FNMSUBD"
    	return math.FMA(x, -y, -z)
    }
    
    func fromFloat64(f64 float64) uint64 {
    	// amd64:"MOVQ\tX.*, [^X].*"
    	// arm64:"FMOVD\tF.*, R.*"
    	// ppc64x:"MFVSRD"
    	// mips64/hardfloat:"MOVV\tF.*, R.*"
    	return math.Float64bits(f64+1) + 1
    }
    
    func fromFloat32(f32 float32) uint32 {
    	// amd64:"MOVL\tX.*, [^X].*"
    	// arm64:"FMOVS\tF.*, R.*"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm64/obj7.go

    		}
    
    	case AFMOVD:
    		if p.From.Type == obj.TYPE_FCONST {
    			f64 := p.From.Val.(float64)
    			if c.chipfloat7(f64) > 0 {
    				break
    			}
    			if math.Float64bits(f64) == 0 {
    				p.From.Type = obj.TYPE_REG
    				p.From.Reg = REGZERO
    				break
    			}
    			p.From.Type = obj.TYPE_MEM
    			p.From.Sym = c.ctxt.Float64Sym(f64)
    			p.From.Name = obj.NAME_EXTERN
    			p.From.Offset = 0
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  9. test/gcgort.go

    	u64  uint64
    	i8   int8
    	i16  int16
    	i32  int32
    	i64  int64
    	f32  float32
    	f64  float64
    	c64  complex64
    	c128 complex128
    	b    byte
    	r    rune
    	u    uint
    	in   int
    	uip  uintptr
    	s    string
    }
    
    func newStructT() structT {
    	return structT{
    		f32:  1.01,
    		f64:  1.01,
    		c64:  complex(float32(1.01), float32(1.01)),
    		c128: complex(float64(1.01), float64(1.01)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 21:15:48 UTC 2018
    - 34.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    					args[1] = fmt.Sprintf("$%s(SB)", s)
    				} else {
    					args[1] = fmt.Sprintf("$%#x", x)
    				}
    
    			case VLDR_EQ:
    				switch {
    				case strings.HasPrefix(args[0], "D"): // VLDR.F64
    					if _, err := text.ReadAt(buf, int64(addr)); err != nil {
    						break
    					}
    					args[1] = fmt.Sprintf("$%f", math.Float64frombits(binary.LittleEndian.Uint64(buf)))
    				case strings.HasPrefix(args[0], "S"): // VLDR.F32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top