PageRenderTime 18ms CodeModel.GetById 10ms app.highlight 6ms 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
 3// General includes.
 4#include "base/cl_sysdep.h"
 5
 6// Specification.
 7#include "cln/float.h"
 8
 9
10// Implementation.
11
12#include "float/cl_F.h"
13
14namespace cln {
15
16const cl_DF cl_F_to_DF (const cl_F& x)
17{
18	floatcase(x
19	,	return cl_SF_to_DF(x);
20	,	return cl_FF_to_DF(x);
21	,	return x;
22	,	return cl_LF_to_DF(x);
23	);
24}
25
26}  // namespace cln