- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,264 for float1 (0.12 sec)
-
android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
Float[] suffix = {(float) 86, (float) 99}; Float[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Float[] concat(Float[] left, Float[] right) { Float[] result = new Float[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
Float[] suffix = {(float) 86, (float) 99}; Float[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Float[] concat(Float[] left, Float[] right) { Float[] result = new Float[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.6K bytes - Viewed (0) -
src/internal/types/testdata/spec/conversions.go
func _[X Unsigned, T Integer](x X) T { return T(x) } func _[X Float, T Integer](x X) T { return T(x) } func _[X Integer, T Unsigned](x X) T { return T(x) } func _[X Unsigned, T Unsigned](x X) T { return T(x) } func _[X Float, T Unsigned](x X) T { return T(x) } func _[X Integer, T Float](x X) T { return T(x) } func _[X Unsigned, T Float](x X) T { return T(x) } func _[X Float, T Float](x X) T { return T(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 7.4K bytes - Viewed (0) -
src/internal/types/testdata/examples/constraints.go
type ( Integer interface{ ~int|~int8|~int16|~int32|~int64 } Unsigned interface{ ~uint|~uint8|~uint16|~uint32|~uint64 } Floats interface{ ~float32|~float64 } Complex interface{ ~complex64|~complex128 } Number interface{ Integer|Unsigned|Floats|Complex } Ordered interface{ Integer|Unsigned|Floats|~string } _ interface{ Number | error /* ERROR "cannot use error in union" */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 2.9K bytes - Viewed (0) -
src/strconv/ftoa_test.go
t.Errorf("failed roundtrip %v => %s => %v", f, s, x) } } f32 := float32(f) if !math.IsInf(float64(f32), 0) { s := FormatFloat(float64(f32), 'e', -1, 32) if x, _ := ParseFloat(s, 32); float32(x) != f32 { t.Errorf("failed roundtrip %v => %s => %v", f32, s, float32(x)) } } } } func TestFtoaRandom(t *testing.T) { N := int(1e4) if testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 24 23:50:20 UTC 2022 - 9.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java
import jsinterop.annotations.JsPackage; /** Web specializations for {@link Floats} methods. */ public abstract class FloatsMethodsForWeb { @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL) public static native float min(float... array); @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL) public static native float max(float... array);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Oct 26 00:50:12 UTC 2023 - 1K bytes - Viewed (0) -
src/math/floor_amd64.s
ANDNPD X0, X2 // X2 = sign CVTSQ2SD AX, X1 // X1 = float(int(x)) CMPSD X1, X0, 2 // compare LE; X0 = 0xffffffffffffffff or 0 ORPD X2, X1 // if X1 = 0.0, incorporate sign MOVSD $1.0, X3 ANDNPD X3, X0 ORPD X2, X0 // if float(int(x)) <= x {X0 = 1} else {X0 = -0} ADDSD X1, X0 MOVSD X0, ret+8(FP) RET isBig_ceil: MOVQ AX, ret+8(FP) RET // func archTrunc(x float64) float64 TEXT ·archTrunc(SB),NOSPLIT,$0 MOVQ x+0(FP), AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 2K bytes - Viewed (0) -
src/database/sql/driver/types.go
case reflect.Uint64: u64 := rv.Uint() if u64 >= 1<<63 { return nil, fmt.Errorf("uint64 values with high bit set are not supported") } return int64(u64), nil case reflect.Float32, reflect.Float64: return rv.Float(), nil case reflect.Bool: return rv.Bool(), nil case reflect.Slice: ek := rv.Type().Elem().Kind() if ek == reflect.Uint8 { return rv.Bytes(), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
src/reflect/tostring_test.go
case Int, Int8, Int16, Int32, Int64: return strconv.FormatInt(val.Int(), 10) case Uint, Uint8, Uint16, Uint32, Uint64, Uintptr: return strconv.FormatUint(val.Uint(), 10) case Float32, Float64: return strconv.FormatFloat(val.Float(), 'g', -1, 64) case Complex64, Complex128: c := val.Complex() return strconv.FormatFloat(real(c), 'g', -1, 64) + "+" + strconv.FormatFloat(imag(c), 'g', -1, 64) + "i" case String:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 2.1K bytes - Viewed (0) -
test/fixedbugs/issue7044.go
float64(f0), float64(f1), float64(f2), float64(f3), float64(f4), float64(f5), float64(f6), float64(f7), float64(f8), float64(f9), float64(f10), float64(f11), float64(f12), float64(f13), float64(f14), float64(f15) // Use all 16 registers to do float64 --> float32 conversion. g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g10, g11, g12, g13, g14, g15 :=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.2K bytes - Viewed (0)