#include "numeric.h"
#include "power.h"
#include "relational.h"
+#include "print.h"
#include "debugmsg.h"
#include "utils.h"
return lh.exmul(power(rh,_ex_1()));
}
-ex operator%(const ex & lh, const ex & rh)
-{
- debugmsg("operator%(ex,ex)",LOGLEVEL_OPERATOR);
- return lh.exncmul(rh);
-}
-
// binary arithmetic operators numeric with numeric
return (lh=lh.exmul(power(rh,_ex_1())));
}
-const ex & operator%=(ex & lh, const ex & rh)
-{
- debugmsg("operator%=(ex,ex)",LOGLEVEL_OPERATOR);
- return (lh=lh%rh);
-}
-
// binary arithmetic assignment operators with numeric
std::ostream & operator<<(std::ostream & os, const ex & e)
{
- e.print(os);
+ e.print(print_context(os));
return os;
}