Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 374 for _sfloat (0.1 sec)

  1. src/internal/types/testdata/fixedbugs/issue49179.go

    func f1[P int | string]()            {}
    func f2[P ~int | string | float64]() {}
    func f3[P int](x P)                  {}
    
    type myInt int
    type myFloat float64
    
    func _() {
    	_ = f1[int]
    	_ = f1[myInt /* ERROR "possibly missing ~ for int in int | string" */]
    	_ = f2[myInt]
    	_ = f2[myFloat /* ERROR "possibly missing ~ for float64 in ~int | string | float64" */]
    	var x myInt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 964 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/x86/ssa.go

    	// Avoid partial register write
    	if !t.IsFloat() {
    		switch t.Size() {
    		case 1:
    			return x86.AMOVBLZX
    		case 2:
    			return x86.AMOVWLZX
    		}
    	}
    	// Otherwise, there's no difference between load and store opcodes.
    	return storeByType(t)
    }
    
    // storeByType returns the store instruction of the given type.
    func storeByType(t *types.Type) obj.As {
    	width := t.Size()
    	if t.IsFloat() {
    		switch width {
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/math_grad_test.cc

      TestCWiseGrad<float, float>(ABS, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Neg) {
      auto x_fn = [this](const int i) { return RV({-1, 0, 1}); };
      TestCWiseGrad<float, float>(NEG, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Reciprocal) {
      auto x_fn = [this](const int i) { return RV({-1, 1, -2, 2, -3, 3, -4, 4}); };
      TestCWiseGrad<float, float>(INV, x_fn);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Store {t} ptr val mem) && t.Size() == 4 && !t.IsFloat() => (MOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 && !t.IsFloat() => (MOVDstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 4 &&  t.IsFloat() => (FMOVWstore ptr val mem)
    (Store {t} ptr val mem) && t.Size() == 8 &&  t.IsFloat() => (FMOVDstore ptr val mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

        %1 = func.call @func_1_GPU_FLOAT(%arg0, %arg3) {tac.device = "GPU", tac.inference_type = "FLOAT", tac.interface_name = "func_1"} : (tensor<100xf32>, tensor<100xf32>) -> tensor<100xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/const.go

    		if isNumeric(x.typ) && isNumeric(typ) {
    			// numeric conversion : error msg
    			//
    			// integer -> integer : overflows
    			// integer -> float   : overflows (actually not possible)
    			// float   -> integer : truncated
    			// float   -> float   : overflows
    			//
    			if !isInteger(x.typ) && isInteger(typ) {
    				return nil, TruncatedFloat
    			} else {
    				return nil, NumericOverflow
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    		f, err := strconv.ParseFloat(strings.TrimSpace(x), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	case []byte:
    		f, err := strconv.ParseFloat(strings.TrimSpace(string(x)), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	default:
    		return 0, errUnsupportedCast(v.GetTypeString(), castFloat)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  8. src/go/scanner/scanner_test.go

    		{token.FLOAT, "123e+0", "123e+0", ""},
    		{token.FLOAT, "0123E-1", "0123E-1", ""},
    
    		{token.FLOAT, "0.e+1", "0.e+1", ""},
    		{token.FLOAT, "123.E-10", "123.E-10", ""},
    		{token.FLOAT, "0123.e123", "0123.e123", ""},
    
    		{token.FLOAT, ".0e-1", ".0e-1", ""},
    		{token.FLOAT, ".123E+10", ".123E+10", ""},
    		{token.FLOAT, ".0123E123", ".0123E123", ""},
    
    		{token.FLOAT, "0.0e1", "0.0e1", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  9. tests/test_starlette_urlconvertors.py

    
    def test_route_converters_float():
        # Test float conversion
        response = client.get("/float/25.5")
        assert response.status_code == 200, response.text
        assert response.json() == {"float": 25.5}
        assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5"  # type: ignore
    
    
    def test_route_converters_path():
        # Test path conversion
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top