PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/cln-1.3.2/src/float/conv/cl_F_to_DF.cc

#
C++ | 26 lines | 14 code | 8 blank | 4 comment | 0 complexity | 973eebb36cc392f947251ad0feef8e7c MD5 | raw file
Possible License(s): GPL-2.0
  1. // cl_F_to_DF().
  2. // General includes.
  3. #include "base/cl_sysdep.h"
  4. // Specification.
  5. #include "cln/float.h"
  6. // Implementation.
  7. #include "float/cl_F.h"
  8. namespace cln {
  9. const cl_DF cl_F_to_DF (const cl_F& x)
  10. {
  11. floatcase(x
  12. , return cl_SF_to_DF(x);
  13. , return cl_FF_to_DF(x);
  14. , return x;
  15. , return cl_LF_to_DF(x);
  16. );
  17. }
  18. } // namespace cln