gdsl
1.8
|
This module provides some various macros. More...
Defines | |
#define | GDSL_MAX(X, Y) (X>Y?X:Y) |
Give the greatest number of two numbers. | |
#define | GDSL_MIN(X, Y) (X>Y?Y:X) |
Give the lowest number of two numbers. |
This module provides some various macros.
Copyright (C) 1998-2018 Nicolas Darnis <ndarnis@free.fr>.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
#define GDSL_MAX | ( | X, | |
Y | |||
) | (X>Y?X:Y) |
Give the greatest number of two numbers.
X | First scalar variable |
Y | Second scalar variable |
Definition at line 57 of file gdsl_macros.h.
#define GDSL_MIN | ( | X, | |
Y | |||
) | (X>Y?Y:X) |
Give the lowest number of two numbers.
X | First scalar variable |
Y | Second scalar variable |
Definition at line 74 of file gdsl_macros.h.