/cln-1.3.2/src/rational/misc/cl_RA_max.cc
C++ | 19 lines | 8 code | 7 blank | 4 comment | 0 complexity | 755eaa164b5f6427aecf616a60f0e1b0 MD5 | raw file
Possible License(s): GPL-2.0
- // max().
- // General includes.
- #include "base/cl_sysdep.h"
- // Specification.
- #include "cln/rational.h"
- // Implementation.
- namespace cln {
- const cl_RA max (const cl_RA& x, const cl_RA& y)
- {
- return (x >= y ? x : y);
- }
- } // namespace cln