Determines the maximum of two values.
Files
lib_def.h
Prototype
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
DEF_MAX(a, b);
|
Arguments
a
First value in maximum comparison.
...
Ideally, DEF_MAX()
should be defined in the custom mathematics library, lib_math.*
. However, to maintain backwards compatibility with previously-released modules, DEF_MAX()
is still defined in lib_def.h
.
Example Usage
...
Language | C++ |
---|---|
CaptionText | CAPTION |
language | cpp |
...