- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 374 for _sfloat (0.14 sec)
-
src/go/internal/gcimporter/iimport.go
val = constant.MakeString(r.string()) case types.IsInteger: var x big.Int r.mpint(&x, b) val = constant.Make(&x) case types.IsFloat: val = r.mpfloat(b) case types.IsComplex: re := r.mpfloat(b) im := r.mpfloat(b) val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im)) default: errorf("unexpected type %v", typ) // panics panic("unreachable") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/universe.go
SimType[TFUNC] = TPTR SimType[TUNSAFEPTR] = TPTR for et := TINT8; et <= TUINT64; et++ { IsInt[et] = true } IsInt[TINT] = true IsInt[TUINT] = true IsInt[TUINTPTR] = true IsFloat[TFLOAT32] = true IsFloat[TFLOAT64] = true IsComplex[TCOMPLEX64] = true IsComplex[TCOMPLEX128] = true } func makeErrorInterface() *Type { sig := NewSignature(FakeRecv(), nil, []*Field{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java
* */ public class FloatConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToFloat() throws Exception { assertEquals(new Float("1000.5"), FloatConversionUtil.toFloat("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveFloat() throws Exception {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc
}; // APSInt provides operators which APInt does not, so allow for converting // to APSInt for computation. Only APInts can be directly read from // element attributes. static const APFloat& AddSign(const APFloat& v) { return v; } static APSInt AddSign(const APInt& v) { return APSInt(v); } template <typename ResultType> static LogicalResult FoldDivOpInternal(stablehlo::DivOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 06:11:55 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/monitoring/monitortest/test.go
func DoesNotExist(any) error { // special case logic in the Assert return nil } func Exactly(v float64) func(any) error { return func(f any) error { if v != toFloat(f) { return fmt.Errorf("want %v, got %v", v, toFloat(f)) } return nil } } func Distribution(count uint64, sum float64) func(any) error { return func(f any) error { d := f.(*dto.Histogram)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
#include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace odml { static const APFloat &addSign(const APFloat &v, Type) { return v; } static APSInt addSign(const APInt &v, Type t) { // Add signedness information to the value, treating signless as signed, // unless it's i1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
Uint32: {Uint32, IsInteger | IsUnsigned, "uint32"}, Uint64: {Uint64, IsInteger | IsUnsigned, "uint64"}, Uintptr: {Uintptr, IsInteger | IsUnsigned, "uintptr"}, Float32: {Float32, IsFloat, "float32"}, Float64: {Float64, IsFloat, "float64"}, Complex64: {Complex64, IsComplex, "complex64"}, Complex128: {Complex128, IsComplex, "complex128"}, String: {String, IsString, "string"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
Uint32: {Uint32, IsInteger | IsUnsigned, "uint32"}, Uint64: {Uint64, IsInteger | IsUnsigned, "uint64"}, Uintptr: {Uintptr, IsInteger | IsUnsigned, "uintptr"}, Float32: {Float32, IsFloat, "float32"}, Float64: {Float64, IsFloat, "float64"}, Complex64: {Complex64, IsComplex, "complex64"}, Complex128: {Complex128, IsComplex, "complex128"}, String: {String, IsString, "string"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
test/typeparam/typeswitch7.out
other barT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 10 01:56:50 UTC 2021 - 19 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.h
} template <> inline std::vector<float> GetVector(DenseElementsAttr elements) { auto type = elements.getType(); auto elemType = type.getElementType(); if (elemType.isF32()) { auto vec = llvm::to_vector(llvm::map_range( elements.getValues<APFloat>(), [&](APFloat value) -> float { return value.convertToFloat(); })); return std::vector<float>(vec.begin(), vec.end()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 21:00:09 UTC 2024 - 11.2K bytes - Viewed (0)