/cln-1.3.2/src/float/misc/cl_F_max.cc
# · C++ · 19 lines · 8 code · 7 blank · 4 comment · 0 complexity · 27757606f98437342e6fbd9be81ecf5b MD5 · raw file
- // max().
- // General includes.
- #include "base/cl_sysdep.h"
- // Specification.
- #include "cln/float.h"
- // Implementation.
- namespace cln {
- const cl_F max (const cl_F& x, const cl_F& y)
- {
- return (x >= y ? x : y);
- }
- } // namespace cln