Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 374 for _sfloat (0.15 sec)

  1. src/runtime/vlop_arm_test.go

    	}
    }
    
    //go:noinline
    func armFloatWrite(a *[129]float64) {
    	// This used to miscompile on arm5.
    	// The offset is too big to fit in a load.
    	// So the code does:
    	//   ldr     r0, [sp, #8]
    	//   bl      6f690 <_sfloat>
    	//   ldr     fp, [pc, #32]   ; (address of 128.0)
    	//   vldr    d0, [fp]
    	//   ldr     fp, [pc, #28]   ; (1024)
    	//   add     fp, fp, r0
    	//   vstr    d0, [fp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  2. test/named.go

    	isFloat(2.5 * f)
    	asFloat(f * f)
    	isFloat(f * f)
    	f *= 4
    	asFloat(f / 2.5)
    	isFloat(f / 2.5)
    	asFloat(2.5 / f)
    	isFloat(2.5 / f)
    	asFloat(f / f)
    	isFloat(f / f)
    	f /= 4
    	asFloat(f)
    	isFloat(f)
    	f = 5
    	asFloat(*&f)
    	isFloat(*&f)
    	asFloat(234)
    	asFloat(Float(234))
    	isFloat(Float(234))
    	asFloat(1.2)
    	asFloat(Float(i))
    	isFloat(Float(i))
    
    	asInt(i)
    	isInt(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

    }
    
    }  // namespace
    
    GraphDef DeviceCompilerSerializeTest::GetTestGraph(
        const PartialTensorShape& input_shape) {
      FunctionDef make_test_fn = FunctionDefHelper::Define(
          "TestFn", {"a:float", "b:float", "c:float"}, {"m:float"}, {},
          {{{"d"}, "Add", {"a", "b"}, {{"T", DT_FLOAT}}},
           {{"e"}, "Mul", {"d", "c"}, {{"T", DT_FLOAT}}},
           {{"f"}, "Add", {"e", "a"}, {{"T", DT_FLOAT}}},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/const.go

    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    	// Maximum size in bits for big.Ints before signaling
    	// overflow and also mantissa precision for big.Floats.
    	ConstPrec = 512
    )
    
    func BigFloat(v constant.Value) *big.Float {
    	f := new(big.Float)
    	f.SetPrec(ConstPrec)
    	switch u := constant.Val(v).(type) {
    	case int64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

      }
      return builder->CreateVector(floatVec);
    }
    
    // F32Attr already returns a float as required by flatbuffer builders.
    static float ConvertF32AttrForOptionWriter(
        llvm::APFloat f, flatbuffers::FlatBufferBuilder* builder) {
      return f.convertToFloat();
    }
    
    // BoolAttr already returns a bool as required by flatbuffer builders.
    static bool ConvertBoolAttrForOptionWriter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val KaType.isByte: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.BYTE) }
        public val KaType.isFloat: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.FLOAT) }
        public val KaType.isDouble: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.DOUBLE) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      FunctionDefLibrary library;
    
      FunctionDef called_func =
          FunctionDefHelper::Create("TransposeCall",
                                    /*in_def=*/{"a:float", "b:int32"},
                                    /*out_def=*/{"c:float"}, {},
                                    {{{"t0"},
                                      "Transpose",
                                      {"a", "b"},
                                      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/const.go

    		if t.IsString() {
    			return v
    		}
    
    	case constant.Int:
    		if explicit && t.IsString() {
    			return tostr(v)
    		}
    		fallthrough
    	case constant.Float, constant.Complex:
    		switch {
    		case t.IsInteger():
    			v = toint(v)
    			return v
    		case t.IsFloat():
    			v = toflt(v)
    			v = truncfltlit(v, t)
    			return v
    		case t.IsComplex():
    			v = tocplx(v)
    			v = trunccmplxlit(v, t)
    			return v
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. src/runtime/float.go

    cui fliter <******@****.***> 1664760731 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 02:39:39 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. src/math/big/float.go

    // the number +0.0 exactly, with precision 0 and rounding mode [ToNearestEven].
    //
    // Operations always take pointer arguments (*Float) rather
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top