Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,057 for float2 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/math/big/floatconv.go

    // and rounding mode.
    func ParseFloat(s string, base int, prec uint, mode RoundingMode) (f *Float, b int, err error) {
    	return new(Float).SetPrec(prec).SetMode(mode).Parse(s, base)
    }
    
    var _ fmt.Scanner = (*Float)(nil) // *Float must implement fmt.Scanner
    
    // Scan is a support routine for [fmt.Scanner]; it sets z to the value of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. staging/src/k8s.io/apimachinery/pkg/api/apitesting/naming/naming.go

    	switch tp.Kind() {
    	case reflect.Map, reflect.Slice, reflect.Pointer:
    		errs = append(errs, ensureNoTags(gvk, tp.Elem(), parents, typesAllowedTags)...)
    
    	case reflect.String, reflect.Bool, reflect.Float32, reflect.Float64, reflect.Int32, reflect.Int64, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, reflect.Interface:
    		// no-op
    
    	case reflect.Struct:
    		for i := 0; i < tp.NumField(); i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. src/go/printer/testdata/declarations.input

    type _ struct {
    	bool
    	a, b, c int
    	int "tag"
    	ES // comment
    	float "tag"  // comment
    	f int  // comment
    	f, ff, fff, ffff int  // comment
    	g float "tag"
    	h float "tag"  // comment
    }
    
    type _ struct { a, b,
    c, d int  // this line should be indented
    u, v, w, x float // this line should be indented
    p, q,
    r, s float // this line should be indented
    }
    
    
    // difficult cases
    type _ struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
Back to top