gdsl
1.8
|
Copyright (C) 1998-2017 Nicolas Darnis <ndarnis@free.fr>.
GDSL is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
GDSL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GDSL. If not, see <http://www.gnu.org/licenses/>.
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. |
#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 72 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 89 of file gdsl_macros.h.