max


Description:

[ CCode ( cname = "MAX" ) ]
public static int64 max (int64 a, int64 b)

Example: Calculate the minimum via .min():

public static int main (string[] args) {
// Output: ``max (100, 900) = 900``
int64 max = int64.max (100, 900);
print ("max (100, 900) = %" + int64.FORMAT + "\n", max);
return 0;
}

valac --pkg glib-2.0 int64.max.vala