From: SourceForge.net <no...@so...> - 2007-10-02 23:52:44
|
Bugs item #766942, was opened at 2003-07-06 23:48 Message generated for change (Comment added) made by dgildea You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=766942&group_id=4933 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: Lisp Core Group: None >Status: Pending >Resolution: Works For Me Priority: 5 Private: No Submitted By: Stavros Macrakis (macrakis) Assigned to: Nobody/Anonymous (nobody) Summary: min/max handles inf/minf/ind but not und Initial Comment: min/max handle inf/minf/inf correctly: max(inf,minf) => inf max(x,inf) => inf max(ind,minf) => ind etc. but don't do the same for und: max(und,inf) => ERROR (should be inf) min(und,minf) => ERROR (should be minf) of course, other cases really are undefined, but if the input contains UND, so should the output: max(und,und) => UND (correct, but probably by accident) max(und,minf) => ERROR (should be UND) ---------------------------------------------------------------------- >Comment By: Dan Gildea (dgildea) Date: 2007-10-02 19:52 Message: Logged In: YES user_id=1797506 Originator: NO seems to work in 5.13.0 (%i1) max(und,inf) ; (%o1) inf (%i2) min(und,minf) ; (%o2) minf (%i3) max(und,und); (%o3) und (%i4) max(und,minf); (%o4) und ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2006-07-07 01:46 Message: Logged In: YES user_id=501686 max/min were reimplemented in 5.9.2 or 5.9.3. Outputs observed in 5.9.3cvs are mostly noun expressions which max and min return for nonorderable arguments. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=766942&group_id=4933 |