- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for immfloat (0.26 sec)
-
src/cmd/internal/obj/arm/asm5.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 20:51:01 UTC 2023 - 79.4K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue49179.go
func f1[P int | string]() {} func f2[P ~int | string | float64]() {} func f3[P int](x P) {} type myInt int type myFloat float64 func _() { _ = f1[int] _ = f1[myInt /* ERROR "possibly missing ~ for int in int | string" */] _ = f2[myInt] _ = f2[myFloat /* ERROR "possibly missing ~ for float64 in ~int | string | float64" */] var x myInt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 964 bytes - Viewed (0) -
src/fmt/print.go
p.badVerb(verb) } } // fmtFloat formats a float. The default precision for each verb // is specified as last argument in the call to fmt_float. func (p *pp) fmtFloat(v float64, size int, verb rune) { switch verb { case 'v': p.fmt.fmtFloat(v, size, 'g', -1) case 'b', 'g', 'G', 'x', 'X': p.fmt.fmtFloat(v, size, verb, -1) case 'f', 'e', 'E': p.fmt.fmtFloat(v, size, verb, 6) case 'F':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/go/types/basic.go
type BasicInfo int // Properties of basic types. const ( IsBoolean BasicInfo = 1 << iota IsInteger IsUnsigned IsFloat IsComplex IsString IsUntyped IsOrdered = IsInteger | IsFloat | IsString IsNumeric = IsInteger | IsFloat | IsComplex IsConstType = IsBoolean | IsNumeric | IsString ) // A Basic represents a basic type. type Basic struct { kind BasicKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 1.6K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h
if (!MatchIota(reduce_op.getDimensions(), iota)) return failure(); // Match the reduction computation. const bool is_float = mlir::isa<FloatType>(operand_init.getElementType()); if (failed(MatchReduceToArgMinMaxType1(reduce_op, is_float, is_argmax)) && failed(MatchReduceToArgMinMaxType2(reduce_op, is_argmax))) return rewriter.notifyMatchFailure(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/ir/const.go
func NewZero(pos src.XPos, typ *types.Type) Node { switch { case typ.HasNil(): return NewNilExpr(pos, typ) case typ.IsInteger(): return NewBasicLit(pos, typ, intZero) case typ.IsFloat(): return NewBasicLit(pos, typ, floatZero) case typ.IsComplex(): return NewBasicLit(pos, typ, complexZero) case typ.IsBoolean(): return NewBasicLit(pos, typ, constant.MakeBool(false)) case typ.IsString():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 18:53:26 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/types/testdata/check/const0.go
// floating point values tf0 float32 = 0. tf1 float32 = 1. tf2 float64 = 4.2e1 tf3 myfloat = 3.141592653589793238462643383279502884197169399375105820974944592307816406286 tf4 myfloat = 1e-1 tf5 = tf0 + tf1 tf6 = tf1 - tf1 tf7 = tf2 /* ERROR "mismatched types" */ * tf1 tf8 = tf3 / tf3 tf9 = tf3 /* ERROR "not defined" */ % tf3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 9.2K bytes - Viewed (0) -
src/text/template/parse/node.go
} } } if !n.IsInt && !n.IsUint && !n.IsFloat { return nil, fmt.Errorf("illegal number syntax: %q", text) } return n, nil } // simplifyComplex pulls out any other types that are represented by the complex number. // These all require that the imaginary part be zero. func (n *NumberNode) simplifyComplex() { n.IsFloat = imag(n.Complex128) == 0 if n.IsFloat { n.Float64 = real(n.Complex128)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.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)