Bugs item #3231937, was opened at 2011-03-21 13:55 Message generated for change (Tracker Item Submitted) made by sistisette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3231937...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Sisti Sette (sistisette) Assigned to: Nobody/Anonymous (nobody) Summary: [range] and [maxlib/scale] broken
Initial Comment: [range A B C D] and [maxlib/scale A B C D] don't behave correctly when either A>B or C>D or both.
If they are not supposed to (which I don't see a good reason why), then they should at the very least print an error message, rather than output any unpredictable value.
When only C>D but A<B, the output seems to range from C to max(D,1) instead of from C to D. When A>B, the result doesn't make any sense.
By the way wouldn' it be better to implement these objects as abstractions?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3231937...