You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
334 B
26 lines
334 B
// cl_F_to_SF().
|
|
|
|
// General includes.
|
|
#include "cl_sysdep.h"
|
|
|
|
// Specification.
|
|
#include "cln/float.h"
|
|
|
|
|
|
// Implementation.
|
|
|
|
#include "cl_F.h"
|
|
|
|
namespace cln {
|
|
|
|
const cl_SF cl_F_to_SF (const cl_F& x)
|
|
{
|
|
floatcase(x
|
|
, return x;
|
|
, return cl_FF_to_SF(x);
|
|
, return cl_DF_to_SF(x);
|
|
, return cl_LF_to_SF(x);
|
|
);
|
|
}
|
|
|
|
} // namespace cln
|