Opened 14 years ago

Last modified 14 years ago

#1507 closed defect (fixed)

Simplify: Oscillating behaviour

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund,

Description

List some expressions that oscillate if we call simplify() twice on the expression. It is not always easy to remove such things, but some of these should be possible to solve.

This should be possible to solve by multiplying the factors instead of swapping them...

simplify:
(x + y * z) * 1.0 / (1.0 - a) / b
=>
(x + y * z) * 1.0 / b / (1.0 - a)
=>
(x + y * z) * 1.0 / (1.0 - a) / b

Change History (0)

Note: See TracTickets for help on using tickets.