- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,057 for float2 (0.22 sec)
-
src/cmd/compile/internal/ssa/rewritedec.go
// result: (ComplexMake (Load <typ.Float32> ptr mem) (Load <typ.Float32> (OffPtr <typ.Float32Ptr> [4] ptr) mem) ) for { t := v.Type ptr := v_0 mem := v_1 if !(t.IsComplex() && t.Size() == 8) { break } v.reset(OpComplexMake) v0 := b.NewValue0(v.Pos, OpLoad, typ.Float32) v0.AddArg2(ptr, mem) v1 := b.NewValue0(v.Pos, OpLoad, typ.Float32) v2 := b.NewValue0(v.Pos, OpOffPtr, typ.Float32Ptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:48:31 UTC 2023 - 24.9K bytes - Viewed (0) -
src/internal/types/testdata/check/decls0.go
A3 /* ERROR "invalid recursive type" */ [10]struct { x A4 } A4 [10]A3 F1 func() F2 func(x, y, z float32) F3 func(x, y, x /* ERROR "redeclared" */ float32) F4 func() (x, y, x /* ERROR "redeclared" */ float32) F5 func(x int) (x /* ERROR "redeclared" */ float32) F6 func(x ...int) I1 interface{} I2 interface { m1() } I3 interface { m1()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 4.1K bytes - Viewed (0) -
test/named.go
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) asInt(-i) isInt(-i) asInt(^i) isInt(^i) asInt(+i) isInt(+i) asInt(i + 1) isInt(i + 1) asInt(1 + 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) -
src/encoding/json/encode_test.go
f, err := strconv.ParseFloat(s, bits) if err != nil { log.Fatal(err) } next := math.Nextafter if bits == 32 { next = func(g, h float64) float64 { return float64(math.Nextafter32(float32(g), float32(h))) } } test(f, bits) test(next(f, bigger), bits) test(next(f, smaller), bits) if nfail > 50 { t.Fatalf("stopping test early")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
doc/go_spec.html
yields a typed constant. </p> <pre> uint(iota) // iota value of type uint float32(2.718281828) // 2.718281828 of type float32 complex128(1) // 1.0 + 0.0i of type complex128 float32(0.49999999) // 0.5 of type float32 float64(-1e-1000) // 0.0 of type float64 string('x') // "x" of type string string(0x266c) // "♬" of type string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1) -
tensorflow/cc/experimental/libtf/tests/tensor_test.cc
if (val.type() != TaggedValue::FLOAT32) return TaggedValue::None(); if (self.type() != TaggedValue::DICT) return TaggedValue::None(); TaggedValue ctx_capsule = (self.dict())[TaggedValue("context")]; AbstractContext* ctx = static_cast<AbstractContext*>(ctx_capsule.capsule()); AbstractTensorHandle* x_raw = nullptr; Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx, val.f32().get(), &x_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
) return inputs, outputs def _create_data_generator( self, input_key: str, shape: Sequence[int], minval: float = -1.0, maxval: float = 1.0, dtype: dtypes.DType = dtypes.float32, num_examples: int = 8, ) -> repr_dataset.RepresentativeDataset: """Creates a data generator to be used as representative dataset.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/scalars.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 30 17:28:28 UTC 2021 - 2K bytes - Viewed (0) -
src/reflect/deepequal.go
case Uint, Uint8, Uint16, Uint32, Uint64, Uintptr: return v1.Uint() == v2.Uint() case String: return v1.String() == v2.String() case Bool: return v1.Bool() == v2.Bool() case Float32, Float64: return v1.Float() == v2.Float() case Complex64, Complex128: return v1.Complex() == v2.Complex() default: // Normal equality suffices return valueInterface(v1, false) == valueInterface(v2, false) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 7.4K bytes - Viewed (0) -
test/fixedbugs/issue7740.go
// This test computes the precision of the compiler's internal multiprecision floats. package main import ( "fmt" "math" "runtime" ) const ulp = (1.0 + (2.0 / 3.0)) - (5.0 / 3.0) func main() { // adjust precision depending on compiler var prec float64 switch runtime.Compiler { case "gc": prec = math.Inf(1) // exact precision using rational arithmetic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 25 18:53:24 UTC 2021 - 736 bytes - Viewed (0)