Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for Min (0.01 seconds)

  1. 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>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top