Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for immfloat (0.1 sec)

  1. src/cmd/internal/obj/arm/asm5.go

    				a.Reg = obj.REG_NONE
    			}
    			c.instoffset = c.autosize + a.Offset
    			if t := immaddr(int32(c.instoffset)); t != 0 {
    				if immhalf(int32(c.instoffset)) {
    					if immfloat(t) {
    						return C_HFAUTO
    					}
    					return C_HAUTO
    				}
    
    				if immfloat(t) {
    					return C_FAUTO
    				}
    				return C_SAUTO
    			}
    
    			return C_LAUTO
    
    		case obj.NAME_PARAM:
    			if a.Reg == REGSP {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

    // return %3, %8
    // Also note that %1 may be folded if %lhs_value is of integer types.
    LogicalResult MatchReduceToArgMinMaxType1(mhlo::ReduceOp reduce_op,
                                              bool is_float, bool is_argmax) {
      Block& body = reduce_op.getBody().front();
      if (body.getNumArguments() != 4) return failure();
    
      mhlo::ReturnOp return_op = dyn_cast<mhlo::ReturnOp>(body.back());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top