Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: >=0

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: >=0
  • From: gaylord at ux1.cso.uiuc.edu
  • Date: Thu, 15 Oct 1992 09:24:18 -0500

a additional note on the question:

you must have made an error because
 

using the rewrite rule g[x_] := If[x>=0,True,False]

and inputting
g[2 y^2]
     
returns

If[2 y >= 0, True, False]

it does not return False (you probably got a false  with a rewrite rule you
forgot to clear).

the reason is that since y is undefined mathematica can't decide if it is
true or false and so it returns the input unevaluated.


the rest of my discussion is, i believe, okay.



richard j. gaylord, university of illinois, gaylord at ux1.cso.uiuc.edu

"if you're not programming functionally, then you must be programming
dysfunctionally"








  • Prev by Date: Re: MMA 2.1 on HP9000 and HP 700/X X-terminals
  • Next by Date: A Notebook Problem
  • Previous by thread: Developing Mma frontends for NeXT
  • Next by thread: A Notebook Problem