Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sans (0.5 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    		for _, arg := range n.Args[1:] {
    			x = op(x, s.expr(arg))
    		}
    		return x
    	}
    
    	typ := n.Type()
    
    	if typ.IsFloat() || typ.IsString() {
    		// min/max semantics for floats are tricky because of NaNs and
    		// negative zero. Some architectures have instructions which
    		// we can use to generate the right result. For others we must
    		// call into the runtime instead.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. doc/go_spec.html

    var s []string
    _ = min(s...)               // invalid: slice arguments are not permitted
    t := max("", "foo", "bar")  // t == "foo" (string kind)
    </pre>
    
    <p>
    For numeric arguments, assuming all NaNs are equal, <code>min</code> and <code>max</code> are
    commutative and associative:
    </p>
    
    <pre>
    min(x, y)    == min(y, x)
    min(x, y, z) == min(min(x, y), z) == min(x, min(y, z))
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top