Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for float1 (0.41 sec)

  1. tests/migrate_test.go

    		ID       uint
    		Name     string
    		Salary   float64
    		Birthday time.Time `gorm:"precision:4"`
    	}
    
    	DB.Migrator().DropTable(&UserMigrateColumn{})
    
    	DB.AutoMigrate(&UserMigrateColumn{})
    
    	type UserMigrateColumn2 struct {
    		ID                  uint
    		Name                string    `gorm:"size:128"`
    		Salary              float64   `gorm:"precision:2"`
    		Birthday            time.Time `gorm:"precision:2"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    	x.expr = e
    	return statement // avoid follow-up errors
    }
    
    // keyVal maps a complex, float, integer, string or boolean constant value
    // to the corresponding complex128, float64, int64, uint64, string, or bool
    // Go value if possible; otherwise it returns x.
    // A complex constant that can be represented as a float (such as 1.2 + 0i)
    // is returned as a floating point value; if a floating point value can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        Value input = op.getX();
        TensorType original_tensor_type =
            mlir::cast<TensorType>(op.getX().getType());
    
        // The approximation is not precise enough for float16. Do the computation
        // in float32 for that case.
        TensorType tensor_type = original_tensor_type;
        FloatType float_type = mlir::cast<FloatType>(tensor_type.getElementType());
        bool needs_cast = float_type.getWidth() < 32;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    	r := uint32(((b >> 32) & (1 << 31)) | 0x7f800000 | (m >> (52 - 23)))
    	return math.Float32frombits(r)
    }
    
    // extend32Fto64F converts a float32 value to a float64 value preserving the bit
    // pattern of the mantissa.
    func extend32Fto64F(f float32) float64 {
    	if !math.IsNaN(float64(f)) {
    		return float64(f)
    	}
    	// NaN bit patterns aren't necessarily preserved across conversion
    	// instructions so we need to do the conversion manually.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. tests/test_application.py

                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                    }
                },
                "/path/float/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm/asm5.go

    		o2 |= ((uint32(p.Scond) & C_SCOND) ^ C_SCOND_XOR) << 28
    
    	case 84: /* movfw freg,freg - truncate float-to-fix */
    		o1 = c.oprrr(p, p.As, int(p.Scond))
    
    		o1 |= (uint32(p.From.Reg) & 15) << 0
    		o1 |= (uint32(p.To.Reg) & 15) << 12
    
    	case 85: /* movwf freg,freg - fix-to-float */
    		o1 = c.oprrr(p, p.As, int(p.Scond))
    
    		o1 |= (uint32(p.From.Reg) & 15) << 0
    		o1 |= (uint32(p.To.Reg) & 15) << 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug.go

    	newValues := []*Value{}
    
    	abiRegIndexToRegister := func(reg abi.RegIndex) int8 {
    		i := f.ABISelf.FloatIndexFor(reg)
    		if i >= 0 { // float PR
    			return f.Config.floatParamRegs[i]
    		} else {
    			return f.Config.intParamRegs[reg]
    		}
    	}
    
    	// Helper to construct a new OpArg{Float,Int}Reg op value.
    	var pos src.XPos
    	if len(f.Entry.Values) != 0 {
    		pos = f.Entry.Values[0].Pos
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    	maxDiff := 0.10
    	if testing.Short() {
    		maxDiff = 0.40
    	}
    
    	compare := func(a, b time.Duration, maxDiff float64) error {
    		if a <= 0 || b <= 0 {
    			return fmt.Errorf("Expected both time reports to be positive")
    		}
    
    		if a < b {
    			a, b = b, a
    		}
    
    		diff := float64(a-b) / float64(a)
    		if diff > maxDiff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    || height < getThumbnailHtmlImageMinHeightAsInteger().intValue()) {
                return false;
            }
    
            final float ratio = getThumbnailHtmlImageMaxAspectRatioAsDecimal().floatValue();
            if (((float) width) / ((float) height) > ratio || ((float) height) / ((float) width) > ratio) {
                return false;
            }
    
            return true;
        }
    
        String getHttpProxyHost();
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	case "bool", "*bool":
    		return "boolean"
    	case "uint8", "*uint8", "int", "*int", "int32", "*int32", "int64", "*int64", "uint32", "*uint32", "uint64", "*uint64":
    		return "integer"
    	case "float64", "*float64", "float32", "*float32":
    		return "number"
    	case "metav1.Time", "*metav1.Time":
    		return "string"
    	case "byte", "*byte":
    		return "string"
    	case "v1.DeletionPropagation", "*v1.DeletionPropagation":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top