Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

Simple Integer Math Functions

max

Description: Returns the maximum value of two int parameters.

Calling Interface:

int max(int x, int y)

llmax

Description: Returns the maximum value of two long long parameters.

Calling Interface:

long long llmax(long long x, long long y)

umax

Description: Returns the maximum value of two unsigned int parameters.

Calling Interface:

unsigned umax(unsigned x, unsigned y)

ullmax

Description: Returns the maximum value of two unsigned long long parameters

Calling Interface:

unsigned long long ullmax(unsigned long long x, unsigned long long y)

min

Description: Returns the minimum value of two int parameters.

Calling Interface:

int min(int x, int x)

llmin

Description: Returns the minimum value of two long long parameters.

Calling Interface:

long long llmin(long long x, long long y)

umin

Description: Returns the minimum value of two unsigned int parameters.

Calling Interface:

unsigned umin(unsigned x, unsigned y)

ullmin

Description: Returns the minimum value of two unsigned long long parameters.

Calling Interface:

unsigned long long ullmin(unsigned long long x, unsigned long long y)