Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 682 for float2 (0.31 sec)

  1. src/go/scanner/scanner_test.go

    		{token.IMAG, "0678i", "0678i", ""},
    
    		// decimal floats
    		{token.FLOAT, "0.", "0.", ""},
    		{token.FLOAT, "123.", "123.", ""},
    		{token.FLOAT, "0123.", "0123.", ""},
    
    		{token.FLOAT, ".0", ".0", ""},
    		{token.FLOAT, ".123", ".123", ""},
    		{token.FLOAT, ".0123", ".0123", ""},
    
    		{token.FLOAT, "0.0", "0.0", ""},
    		{token.FLOAT, "123.123", "123.123", ""},
    		{token.FLOAT, "0123.0123", "0123.0123", ""},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/stmt0.go

    	case nil:
    		var v bool = t /* ERRORx `cannot use .* in variable declaration` */
    		_ = v
    	case int:
    		var v int = t
    		_ = v
    	case float32, complex64:
    		var v float32 = t /* ERRORx `cannot use .* in variable declaration` */
    		_ = v
    	default:
    		var v float32 = t /* ERRORx `cannot use .* in variable declaration` */
    		_ = v
    	}
    
    	var t I
    	switch t.(type) {
    	case T:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

            return l;
        }
    
        /* Encode floats
         */
    
        public static int enc_floatle( float f, byte[] dst, int di )
        {
            return enc_uint32le( Float.floatToIntBits( f ), dst, di );
        }
        public static int enc_floatbe( float f, byte[] dst, int di )
        {
            return enc_uint32be( Float.floatToIntBits( f ), dst, di );
        }
    
        /* Decode floating point numbers
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.td

                 "enable post training quantization. Only used in tests">,
          Option<"legacy_float_scale_", "legacy-float-scale", "bool", "false",
                 "calculate quantization scales in float instead of double">,
          Option<"disable_per_channel_", "disable-per-channel", "bool", "false",
                 "Whether disable per-channel quantized weights.">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. src/runtime/error.go

    	case abi.Uint64:
    		print(typestring, "(", *(*uint64)(eface.data), ")")
    	case abi.Uintptr:
    		print(typestring, "(", *(*uintptr)(eface.data), ")")
    	case abi.Float32:
    		print(typestring, "(", *(*float32)(eface.data), ")")
    	case abi.Float64:
    		print(typestring, "(", *(*float64)(eface.data), ")")
    	case abi.Complex64:
    		print(typestring, *(*complex64)(eface.data))
    	case abi.Complex128:
    		print(typestring, *(*complex128)(eface.data))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/strconv/ftoa.go

    // according to the format fmt and precision prec. It rounds the
    // result assuming that the original was obtained from a floating-point
    // value of bitSize bits (32 for float32, 64 for float64).
    //
    // The format fmt is one of
    // 'b' (-ddddp±ddd, a binary exponent),
    // 'e' (-d.dddde±dd, a decimal exponent),
    // 'E' (-d.ddddE±dd, a decimal exponent),
    // 'f' (-ddd.dddd, no exponent),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/testing/quick/quick.go

    }
    
    // randFloat32 generates a random float taking the full range of a float32.
    func randFloat32(rand *rand.Rand) float32 {
    	f := rand.Float64() * math.MaxFloat32
    	if rand.Int()&1 == 1 {
    		f = -f
    	}
    	return float32(f)
    }
    
    // randFloat64 generates a random float taking the full range of a float64.
    func randFloat64(rand *rand.Rand) float64 {
    	f := rand.Float64() * math.MaxFloat64
    	if rand.Int()&1 == 1 {
    		f = -f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. src/math/rand/rand_test.go

    		ve float64 = 3.9496598225815571993e-3
    	)
    
    	testKe = make([]uint32, 256)
    	testWe = make([]float32, 256)
    	testFe = make([]float32, 256)
    
    	q := ve / math.Exp(-de)
    	testKe[0] = uint32((de / q) * m2)
    	testKe[1] = 0
    	testWe[0] = float32(q / m2)
    	testWe[255] = float32(de / m2)
    	testFe[0] = 1.0
    	testFe[255] = float32(math.Exp(-de))
    	for i := 254; i >= 1; i-- {
    		de = -math.Log(ve/de + math.Exp(-de))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. schema/field.go

    				}
    			case float64:
    				field.ReflectValueOf(ctx, value).SetFloat(data)
    			case float32:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int64:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int16:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. src/strconv/ftoaryu.go

    	return (x * 108853) >> 15
    }
    
    // computeBounds returns a floating-point vector (l, c, u)×2^e2
    // where the mantissas are 55-bit (or 26-bit) integers, describing the interval
    // represented by the input float64 or float32.
    func computeBounds(mant uint64, exp int, flt *floatInfo) (lower, central, upper uint64, e2 int) {
    	if mant != 1<<flt.mantbits || exp == flt.bias+1-int(flt.mantbits) {
    		// regular case (or denormals)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
Back to top