Sort with -Infinity fails
- To: mathgroup at smc.vnet.net
- Subject: [mg73822] Sort with -Infinity fails
- From: Tom Aldenberg <Tom.Aldenberg at rivm.nl>
- Date: Thu, 1 Mar 2007 06:17:13 -0500 (EST)
Dear MathGroup, Minus Infinity (-Infinity) is smaller than -8, but Sort does not sort it as expected. Is there a Real minus Infinity? In[75]:= -Infinity < -8 Out[75]= True In[76]:= Sort[{-Infinity, -8, 5}] Out[76]= {-8, 5, -∞} Regards, Tom Aldenberg ____________________________________________________________________________ DISCLAIMER: http://www.rivm.nl/disclaimer.htm
- Follow-Ups:
- RE: Sort with -Infinity fails
- From: "Jose Luis Gomez" <jose.luis.gomez@itesm.mx>
- Re: Sort with -Infinity fails
- From: János <janos.lobb@yale.edu>
- Re: Sort with -Infinity fails
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- RE: Sort with -Infinity fails