Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for makemap (0.1 sec)

  1. src/cmd/compile/internal/types2/const.go

    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/go/types/const.go

    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/reflectdata/helpers.go

    // and returns an expression that yields the *runtime._type value
    // representing that map type.
    func MakeMapRType(pos src.XPos, n *ir.MakeExpr) ir.Node {
    	assertOp(n, ir.OMAKEMAP)
    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return mapRType(pos, n.Type())
    }
    
    // MakeSliceElemRType asserts that n is a "make" operation for a slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top