[CLN-list] const cl_LF operator- (const cl_LF& x, const cl_LF& y)

Bruno Haible bruno at clisp.org
Sat Mar 29 23:38:36 CET 2008


Hello Zhao,

>     I find that the function ( const cl_LF operator- (const cl_LF& x, const cl_LF& y) ) in cl_LF.h and in cl_LF_2mimus.cc is different!
>    In cl_LF.h:
>    inline const cl_LF operator- (const cl_LF& x, const cl_LF& y)  \
>   {         \
>   return LF_LF_minus_LF(x,y);     \
>   } 

This is part of a macro, ALL_cl_LF_OPERATIONS_SAME_PRECISION, which can only
be used in particular circumstances. The comment in front of this macro says it.

>   In cl_LF_2mimus.cc :
>   const cl_LF operator- (const cl_LF& x1, const cl_LF& x2)
>   { GEN_LF_OP2(x1,x2,LF_LF_minus_LF,return) }

Do you have a problem with this? If so, can you show the complete error messages?

Bruno



More information about the CLN-list mailing list