您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
27 行
474 B
27 行
474 B
// binary operator +
|
|
|
|
// General includes.
|
|
#include "base/cl_sysdep.h"
|
|
|
|
// Specification.
|
|
#include "cln/float.h"
|
|
|
|
|
|
// Implementation.
|
|
|
|
#include "float/cl_F.h"
|
|
#include "cln/sfloat.h"
|
|
#include "cln/ffloat.h"
|
|
#include "cln/dfloat.h"
|
|
#include "cln/lfloat.h"
|
|
#include "float/lfloat/cl_LF.h"
|
|
|
|
namespace cln {
|
|
|
|
ALL_cl_LF_OPERATIONS_SAME_PRECISION()
|
|
|
|
const cl_F operator+ (const cl_F& x, const cl_F& y)
|
|
#define plus(a,b) a+b
|
|
GEN_F_OP2(x,y, plus, 1, 0, return)
|
|
|
|
} // namespace cln
|