%Test whether \a x is solution
| 136 | : Test("Transcendental::Log::XY::Sol::"+s,2,d,st,EXTEND_ASSIGNMENT,false) {} |
| 137 | /// %Test whether \a x is solution |
| 138 | virtual MaybeType solution(const Assignment& x) const { |
| 139 | if (x[0].max() < 0.0) |
| 140 | return MT_FALSE; |
| 141 | return eq(log(x[0]), x[1]); |
| 142 | } |
| 143 | /// Extend assignment \a x |
| 144 | virtual bool extendAssignment(Assignment& x) const { |
| 145 | if (x[0].max() < 0.0) return false; |