Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,550 for float1 (0.1 sec)

  1. test/codegen/floats.go

    	return x, y, z
    }
    
    func indexLoad(b0 []float32, b1 float32, idx int) float32 {
    	// arm64:`FMOVS\s\(R[0-9]+\)\(R[0-9]+<<2\),\sF[0-9]+`
    	return b0[idx] * b1
    }
    
    func indexStore(b0 []float64, b1 float64, idx int) {
    	// arm64:`FMOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+<<3\)`
    	b0[idx] = b1
    }
    
    // ----------- //
    //    Fused    //
    // ----------- //
    
    func FusedAdd32(x, y, z float32) float32 {
    	// s390x:"FMADDS\t"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/math/big/float.go

    // than Float values, and each unique Float value requires
    // its own unique *Float pointer. To "copy" a Float value,
    // an existing (or newly allocated) Float must be set to
    // a new value using the [Float.Set] method; shallow copies
    // of Floats are not supported and may lead to errors.
    type Float struct {
    	prec uint32
    	mode RoundingMode
    	acc  Accuracy
    	form form
    	neg  bool
    	mant nat
    	exp  int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

       * @param b the second {@code float} to compare
       * @return the result of invoking {@link Float#compare(float, float)}
       */
      public static int compare(float a, float b) {
        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))}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Floats.java

       * @param b the second {@code float} to compare
       * @return the result of invoking {@link Float#compare(float, float)}
       */
      public static int compare(float a, float b) {
        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))}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. src/runtime/float.go

    //
    // Special cases are:
    //
    //	abs(±Inf) = +Inf
    //	abs(NaN) = NaN
    func abs(x float64) float64 {
    	const sign = 1 << 63
    	return float64frombits(float64bits(x) &^ sign)
    }
    
    // copysign returns a value with the magnitude
    // of x and the sign of y.
    func copysign(x, y float64) float64 {
    	const sign = 1 << 63
    	return float64frombits(float64bits(x)&^sign | float64bits(y)&sign)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 02:39:39 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "F64Load", asm: "F64Load", argLength: 2, reg: fp64load, aux: "Int64", typ: "Float64"}, // read 64-bit float from address arg0+aux, arg1=mem
    		{name: "F32Store", asm: "F32Store", argLength: 3, reg: fp32store, aux: "Int64", typ: "Mem"},  // store 32-bit float arg1 at address arg0+aux, arg2=mem, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  7. src/go/constant/value.go

    }
    
    // Float32Val is like [Float64Val] but for float32 instead of float64.
    func Float32Val(x Value) (float32, bool) {
    	switch x := x.(type) {
    	case int64Val:
    		f := float32(x)
    		return f, int64Val(f) == x
    	case intVal:
    		f, acc := newFloat().SetInt(x.val).Float32()
    		return f, acc == big.Exact
    	case ratVal:
    		return x.val.Float32()
    	case floatVal:
    		f, acc := x.val.Float32()
    		return f, acc == big.Exact
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

                  data);
              values.push_back(Eigen::numext::bit_cast<Eigen::bfloat16>(bit_repr));
            }
    
            return mlir::ElementsAttr(DenseElementsAttr::get(
                shaped_type, ArrayRef<Eigen::bfloat16>(values)));
          }
        }
        case 32: {
          assert(bytes_len % 4 == 0);
          int elem_count = bytes_len / 4;
          std::vector<float> values;
          values.reserve(elem_count);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/internal/fuzz/encoding.go

    		}
    		return parseUint(val, typ)
    	case "float32":
    		if kind != token.FLOAT && kind != token.INT {
    			return nil, fmt.Errorf("float or integer literal required for float32 type")
    		}
    		v, err := strconv.ParseFloat(val, 32)
    		return float32(v), err
    	case "float64":
    		if kind != token.FLOAT && kind != token.INT {
    			return nil, fmt.Errorf("float or integer literal required for float64 type")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

          // For f16 quantization, quantize all constant ops as float16.
          QuantizeOpAsFloat16(rewriter, op, quant_op);
        }
        // TODO: b/264218457 - Return a value that accurately captures result
        // status.
        return true;
      }
    
      // Inserts ConvertOp which is used for converting float32 ConstantOp into
      // float16 quantization. If there is an existing ConvertOp connected to the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top