Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,204 for float1 (0.09 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "FMOVSconst", argLength: 0, reg: fp01, aux: "Float64", asm: "FMOVS", typ: "Float32", rematerializeable: true}, // auxint as 64-bit float, convert to 32-bit float
    		{name: "FMOVDconst", argLength: 0, reg: fp01, aux: "Float64", asm: "FMOVD", typ: "Float64", rematerializeable: true}, // auxint as 64-bit float
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    			if intA > result {
    				result = intA
    			}
    		}
    		v.setInt(result)
    		return nil
    	}
    
    	floatV, _ := v.ToFloat()
    	floatA, _ := a.ToFloat()
    	var result float64
    	if !isMax {
    		result = math.Min(floatV, floatA)
    	} else {
    		result = math.Max(floatV, floatA)
    	}
    	v.setFloat(result)
    	return nil
    }
    
    func inferTypeAsTimestamp(v *Value) error {
    	if s, ok := v.ToString(); ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  4. src/math/big/rat.go

    func (x *Rat) Float32() (f float32, exact bool) {
    	b := x.b.abs
    	if len(b) == 0 {
    		b = natOne
    	}
    	f, exact = quotToFloat32(x.a.abs, b)
    	if x.a.neg {
    		f = -f
    	}
    	return
    }
    
    // Float64 returns the nearest float64 value for x and a bool indicating
    // whether f represents x exactly. If the magnitude of x is too large to
    // be represented by a float64, f is an infinity and exact is false.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "MOVFWU", argLength: 1, reg: fpgp, asm: "MOVFW"}, // float32 -> uint32, set U bit in the instruction
    		{name: "MOVDWU", argLength: 1, reg: fpgp, asm: "MOVDW"}, // float64 -> uint32, set U bit in the instruction
    		{name: "MOVFD", argLength: 1, reg: fp11, asm: "MOVFD"},  // float32 -> float64
    		{name: "MOVDF", argLength: 1, reg: fp11, asm: "MOVDF"},  // float64 -> float32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. src/strconv/ftoa_test.go

    				t.Errorf("failed roundtrip %v => %s => %v", f, s, x)
    			}
    		}
    		f32 := float32(f)
    		if !math.IsInf(float64(f32), 0) {
    			s := FormatFloat(float64(f32), 'e', -1, 32)
    			if x, _ := ParseFloat(s, 32); float32(x) != f32 {
    				t.Errorf("failed roundtrip %v => %s => %v", f32, s, float32(x))
    			}
    		}
    	}
    }
    
    func TestFtoaRandom(t *testing.T) {
    	N := int(1e4)
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  7. src/math/rand/rand_test.go

    func initNorm() (testKn []uint32, testWn, testFn []float32) {
    	const m1 = 1 << 31
    	var (
    		dn float64 = rn
    		tn         = dn
    		vn float64 = 9.91256303526217e-3
    	)
    
    	testKn = make([]uint32, 128)
    	testWn = make([]float32, 128)
    	testFn = make([]float32, 128)
    
    	q := vn / math.Exp(-0.5*dn*dn)
    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

        }
        return false;
      }
    
      // Insert CastOp which is used to for converting float32 ConstantOp into
      // float16 quantization. If there is an existing CastOp connected to the
      // ConstantOp, the quantize_op will be rewired to the existing CastOp. This
      // guarantees at most one CastOp is created for float32 to float16 conversion.
      void quantizeOpAsFloat16(PatternRewriter& rewriter, arith::ConstantOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. schema/field_test.go

    		{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`},
    		{Name: "FLOAT64", DBName: "ffloat64", BindNames: []string{"FLOAT64"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:ffloat64"`},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java

    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Floats} methods. */
    public abstract class FloatsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native float min(float... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native float max(float... array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top