PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): GPL-2.0
 1// max().
 2
 3// General includes.
 4#include "base/cl_sysdep.h"
 5
 6// Specification.
 7#include "cln/float.h"
 8
 9
10// Implementation.
11
12namespace cln {
13
14const cl_F max (const cl_F& x, const cl_F& y)
15{
16	return (x >= y ? x : y);
17}
18
19}  // namespace cln