MathGroup Archive 2010

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

Search the Archive

Re: should Positive[ complexNumber ] return undefined instead of False?

3*I is unmutable. It will always be a non-positive number.
It is also non-negative and not zero, so it's perfectly reasonable

In[1]:= {Positive@#,Negative@#,PossibleZeroQ@#}&[3I]
Out[1]= {False,False,False}


On Sep 21, 4:04 pm, "Nasser M. Abbasi" <n... at> wrote:
> math experts:
> x = 3*I;
> Positive[x]
> Out[59]= False
> Should this be undefined or unevaluated?
> If it is False, when there must be an case when it is True, right? but
> there is not such case, positive and negative are not defined on the
> complex numbers, or Am I missing something?
> I know the above works as documented:
> "Positive[x] gives False if x is manifestly a negative numerical
> quantity, a complex numerical quantity, or zero. Otherwise, it remains
> unevaluated"
> So, my question is just wanting to know why when Mathematica was
> designed, the complexes were not added to the case where they remains
> unevaluated in this case?
> --Nasser

  • Prev by Date: Re: How to deal with this message?
  • Next by Date: Re: Using Mathematica remotely (installed on Mac,
  • Previous by thread: Re: Using Mathematica remotely (installed on Mac,
  • Next by thread: Limit of Hypergeometric2F1