- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,362 for Tfloat (0.29 sec)
-
src/encoding/gob/type_test.go
import ( "bytes" "reflect" "sync" "testing" ) type typeT struct { id typeId str string } var basicTypes = []typeT{ {tBool, "bool"}, {tInt, "int"}, {tUint, "uint"}, {tFloat, "float"}, {tBytes, "bytes"}, {tString, "string"}, } func getTypeUnlocked(name string, rt reflect.Type) gobType { typeLock.Lock() defer typeLock.Unlock() t, err := getBaseType(name, rt) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:26:13 UTC 2023 - 6.1K bytes - Viewed (0) -
src/encoding/gob/type.go
// goes through without losing its interfaceness. tBool = bootstrapType("bool", (*bool)(nil)) tInt = bootstrapType("int", (*int)(nil)) tUint = bootstrapType("uint", (*uint)(nil)) tFloat = bootstrapType("float", (*float64)(nil)) tBytes = bootstrapType("bytes", (*[]byte)(nil)) tString = bootstrapType("string", (*string)(nil)) tComplex = bootstrapType("complex", (*complex128)(nil))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/encoding/gob/debug.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 09:34:41 UTC 2023 - 18.3K bytes - Viewed (0) -
src/encoding/gob/decode.go
} // Indexed by gob types. tComplex will be added during type.init(). var decIgnoreOpMap = map[typeId]decOp{ tBool: ignoreUint, tInt: ignoreUint, tUint: ignoreUint, tFloat: ignoreUint, tBytes: ignoreUint8Array, tString: ignoreUint8Array, tComplex: ignoreTwoUints, } // decOpFor returns the decoding op for the base type under rt and // the indirection count to reach it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:10:23 UTC 2023 - 40.1K bytes - Viewed (0) -
src/math/big/float.go
// and returns z. func (z *Float) Abs(x *Float) *Float { z.Set(x) z.neg = false return z } // Neg sets z to the (possibly rounded) value of x with its sign negated, // and returns z. func (z *Float) Neg(x *Float) *Float { z.Set(x) z.neg = !z.neg return z } func validateBinaryOperands(x, y *Float) { if !debugFloat { // avoid performance bugs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
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) -
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) -
test/codegen/floats.go
func CmpWithAdd(a float64, b float64) bool { f := a + b // s390x:-"LTDBR" return f <= 0 } // ---------------- // // Non-floats // // ---------------- // // We should make sure that the compiler doesn't generate floating point // instructions for non-float operations on Plan 9, because floating point // operations are not allowed in the note handler. func ArrayZero() [16]byte { // amd64:"MOVUPS"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
#include "tensorflow/core/public/session.h" namespace tensorflow { namespace { // Creates a float tensor of linearly increasing values, starting from offset. Tensor CreateInputTensor(const TensorShape& shape, float offset) { Tensor tensor(DT_FLOAT, shape); for (int64 i = 0; i < tensor.flat<float>().size(); ++i) { tensor.flat<float>()(i) = offset + i; } return tensor; } NodeDef MakeNode(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
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)