Re: make 0*Infinity = 0
- To: mathgroup at smc.vnet.net
- Subject: [mg47280] Re: make 0*Infinity = 0
- From: "Peter Pein" <no at spam.no>
- Date: Fri, 2 Apr 2004 03:30:27 -0500 (EST)
- References: <c4ggtp$3ng$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Check[0*Infinity, 0, Infinity::indet] don't use Off[Infinity::indet] with this, or it doesn't work. -- Peter Pein, Berlin StringReplace["petsie at arcand.de", Rule@@(ToLowerCase@ToString@Head@#&)/@{William&&S,2b||!2b}] "Daniel Reeves" <dreeves at umich.edu> schrieb im Newsbeitrag news:c4ggtp$3ng$1 at smc.vnet.net... > I'm really stumped on how to make 0*Infinity evaluate to 0. > I've tried all the obvious things, like > Unprotect[Infinity]; > Infinity*0 = 0; > along with all the variations I can think of using UpSet and > DirectedInfinity[_], etc. > Alas, 0*Infinity always comes back with Indeterminate. > > Thanks! > Daniel > > -- > http://ai.eecs.umich.edu/people/dreeves - - google://"Daniel Reeves" > > Optimist: The glass is half full. > Pessimist: The glass is half empty. > Engineer: The glass is too big. > > Check[0*Infinity, 0, Infinity::indet] don't use Off[Infinity::indet] with this, or it doesn't work. -- Peter Pein, Berlin StringReplace["petsie at arcand.de", Rule@@(ToLowerCase@ToString@Head@#&)/@{William&&S,2b||!2b}]