// binary operator - // General includes. #include "cl_sysdep.h" // Specification. #include "cln/sfloat.h" // Implementation. #include "cl_SF.h" /* Use inline version of zerop */ #include "cl_inline.h" #include "cl_SF_zerop.cc" namespace cln { const cl_SF operator- (const cl_SF& x1, const cl_SF& x2) { // Methode: // (- x1 x2) = (+ x1 (- x2)) if (zerop_inline(x2)) return x1; else return x1 + cl_SF_from_word(x2.word ^ bit(SF_sign_shift)); } } // namespace cln