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.

27 lines
474 B

25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. // binary operator +
  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. #include "cln/sfloat.h"
  9. #include "cln/ffloat.h"
  10. #include "cln/dfloat.h"
  11. #include "cln/lfloat.h"
  12. #include "float/lfloat/cl_LF.h"
  13. namespace cln {
  14. ALL_cl_LF_OPERATIONS_SAME_PRECISION()
  15. const cl_F operator+ (const cl_F& x, const cl_F& y)
  16. #define plus(a,b) a+b
  17. GEN_F_OP2(x,y, plus, 1, 0, return)
  18. } // namespace cln