- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Min (0.17 sec)
-
doc/go1.17_spec.html
} </pre> <p> A function declaration may omit the body. Such a declaration provides the signature for a function implemented outside Go, such as an assembly routine. </p> <pre> func min(x int, y int) int { if x < y { return x } return y } func flushICache(begin, end uintptr) // implemented externally </pre> <h3 id="Method_declarations">Method declarations</h3>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
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>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)