Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 912 for float1 (0.28 sec)

  1. src/encoding/binary/binary_test.go

    	"unsafe"
    )
    
    type Struct struct {
    	Int8       int8
    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    	Complex128 complex128
    	Array      [4]uint8
    	Bool       bool
    	BoolArray  [4]bool
    }
    
    type T struct {
    	Int     int
    	Uint    uint
    	Uintptr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    table QuantizationParameters {
      // These four parameters are the asymmetric linear quantization parameters.
      // Given a quantized value q, the corresponding float value f should be:
      //   f = scale * (q - zero_point)
      // For other quantization types, the QuantizationDetails below is used.
      min:[float];  // For importing back into tensorflow.
      max:[float];  // For importing back into tensorflow.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. src/go/types/builtins.go

    			return
    		}
    
    		x.mode = novalue
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(nil, map_, key))
    		}
    
    	case _Imag, _Real:
    		// imag(complexT) floatT
    		// real(complexT) floatT
    
    		// convert or check untyped argument
    		if isUntyped(x.typ) {
    			if x.mode == constant_ {
    				// an untyped constant number can always be considered
    				// as a complex constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		{`package e0; const _ = float32( 1e-200)`, `float32(1e-200)`, `float32`, `0`},
    		{`package e1; const _ = float32(-1e-200)`, `float32(-1e-200)`, `float32`, `0`},
    		{`package e2; const _ = float64( 1e-2000)`, `float64(1e-2000)`, `float64`, `0`},
    		{`package e3; const _ = float64(-1e-2000)`, `float64(-1e-2000)`, `float64`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. doc/go_spec.html

    }
    </pre>
    
    <p>
    Union elements denote unions of type sets:
    </p>
    
    <pre>
    // The Float interface represents all floating-point types
    // (including any named types whose underlying types are
    // either float32 or float64).
    type Float interface {
    	~float32 | ~float64
    }
    </pre>
    
    <p>
    The type <code>T</code> in a term of the form <code>T</code> or <code>~T</code> cannot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  7. src/reflect/deepequal.go

    	case Uint, Uint8, Uint16, Uint32, Uint64, Uintptr:
    		return v1.Uint() == v2.Uint()
    	case String:
    		return v1.String() == v2.String()
    	case Bool:
    		return v1.Bool() == v2.Bool()
    	case Float32, Float64:
    		return v1.Float() == v2.Float()
    	case Complex64, Complex128:
    		return v1.Complex() == v2.Complex()
    	default:
    		// Normal equality suffices
    		return valueInterface(v1, false) == valueInterface(v2, false)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/encoding/json/encode_test.go

    					f, err := strconv.ParseFloat(s, bits)
    					if err != nil {
    						log.Fatal(err)
    					}
    					next := math.Nextafter
    					if bits == 32 {
    						next = func(g, h float64) float64 {
    							return float64(math.Nextafter32(float32(g), float32(h)))
    						}
    					}
    					test(f, bits)
    					test(next(f, bigger), bits)
    					test(next(f, smaller), bits)
    					if nfail > 50 {
    						t.Fatalf("stopping test early")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. src/html/template/js_test.go

    		{float32(1.0), " 1 ", false},
    		{float32(-1.0), " -1 ", false},
    		{float32(0.5), " 0.5 ", false},
    		{float32(-0.5), " -0.5 ", false},
    		{float32(1.0) / float32(256), " 0.00390625 ", false},
    		{float32(0), " 0 ", false},
    		{math.Copysign(0, -1), " -0 ", false},
    		{float64(1.0), " 1 ", false},
    		{float64(-1.0), " -1 ", false},
    		{float64(0.5), " 0.5 ", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. test/codegen/math.go

    	// ppc64x:"FNABS\t"
    	sink64[1] = -math.Abs(y)
    }
    
    // Check that it's using integer registers
    func abs32(x float32) float32 {
    	// s390x:"LPDFR",-"LDEBR",-"LEDBR"     (no float64 conversion)
    	return float32(math.Abs(float64(x)))
    }
    
    // Check that it's using integer registers
    func copysign(a, b, c float64) {
    	// amd64:"BTRQ\t[$]63","ANDQ","ORQ"
    	// s390x:"CPSDR",-"MOVD"         (no integer load/store)
    	// ppc64x:"FCPSGN"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top