Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for float32 (0.05 sec)

  1. 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: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    		nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	type MigrateNullableColumn struct {
    		ID    uint
    		Bonus float64 `gorm:"not null"`
    		Stock float64
    	}
    
    	DB.Migrator().DropTable(&MigrateNullableColumn{})
    
    	DB.AutoMigrate(&MigrateNullableColumn{})
    
    	type MigrateNullableColumn2 struct {
    		ID    uint
    		Bonus float64
    		Stock float64 `gorm:"not null"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  4. cmd/utils.go

    		return globalVeeamForceSC
    	}
    	return s
    }
    
    type ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | string
    }
    
    // mapKeysSorted returns the map keys as a sorted slice.
    func mapKeysSorted[Map ~map[K]V, K ordered, V any](m Map) []K {
    	res := make([]K, 0, len(m))
    	for k := range m {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Floats.java

        return Float.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}.
       *
       * <p>Prefer {@link Float#isFinite(float)} instead.
       *
       * @since 10.0
       */
      @InlineMe(replacement = "Float.isFinite(value)")
      public static boolean isFinite(float value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {}, 0, new float[] {});
        testRotate(new float[] {}, 1, new float[] {});
    
        testRotate(new float[] {1}, -2, new float[] {1});
        testRotate(new float[] {1}, -1, new float[] {1});
        testRotate(new float[] {1}, 0, new float[] {1});
        testRotate(new float[] {1}, 1, new float[] {1});
        testRotate(new float[] {1}, 2, new float[] {1});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {}, 0, new float[] {});
        testRotate(new float[] {}, 1, new float[] {});
    
        testRotate(new float[] {1}, -2, new float[] {1});
        testRotate(new float[] {1}, -1, new float[] {1});
        testRotate(new float[] {1}, 0, new float[] {1});
        testRotate(new float[] {1}, 1, new float[] {1});
        testRotate(new float[] {1}, 2, new float[] {1});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        @Override
        protected List<Float> create(Float[] elements) {
          return asList(elements);
        }
      }
    
      public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE};
          Float[] all = concat(elements, suffix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        @Override
        protected List<Float> create(Float[] elements) {
          return asList(elements);
        }
      }
    
      public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE};
          Float[] all = concat(elements, suffix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params-numeric-validations.md

    * `le`: `l`ess than or `e`qual
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Number validations: floats, greater than and less than { #number-validations-floats-greater-than-and-less-than }
    
    Number validations also work for `float` values.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top