/cln-1.3.2/src/float/lfloat/misc/cl_LF_min.cc

# · C++ · 19 lines · 8 code · 7 blank · 4 comment · 0 complexity · f06ab7487b95405cf16a41a0f8801bae MD5 · raw file

  1. // min().
  2. // General includes.
  3. #include "base/cl_sysdep.h"
  4. // Specification.
  5. #include "cln/lfloat.h"
  6. // Implementation.
  7. namespace cln {
  8. const cl_LF min (const cl_LF& x, const cl_LF& y)
  9. {
  10. return (x <= y ? x : y);
  11. }
  12. } // namespace cln