Re: Positive random number



Johannes Bauer wrote:
Richard Heathfield schrieb:

The return value of rand isn't guaranteed to be positive.
What does "positive" mean?
Greater than zero.

Is x positive if and only if x > 0?
Yes.

Does that mean that 0 is neither positive nor negative?
Yes.

The question if 0 is positive or not is one which has long been debated
my mathematicians around the world - and still is. Many are of the
opinion that it is useful to define it as positive, just as it is useful
to define 0^0 = 1 (although this is not as clear as it might seem).

The point is: It's a question a definition. Your answer is much too
dogmatic.

There might be obscure discussions among mathematicians in which such a definition is used, but I believe that in almost all contexts, the overwhelming majority of the mathematically literate population consider 0 to be neither positive nor negative. I don't think it's excessively dogmatic to insist on interpreting it that way in this context.

.



Relevant Pages

  • Re: are imaginary exponents "truly" defined that way?
    ... definition used by all mathematicians? ... it has no meaning, nor value, nor anything like that on its own. ... is no point in trying to get "one true definition" of this symbol. ... is used in several different contexts and in different contexts it has ...
    (sci.math)
  • Re: Proper class.Proper class ?
    ... honest, then they might as well be stupid liars, so their opinion is of ... set theory that therefore there must be some contraversy. ... axiomatize set theory". ... and mathematicians agree that they are each valid in their own system. ...
    (sci.math)
  • Re: Interesting math
    ... that allow zero to be both. ... appropriate and accepted words around mathematicians, ... "Listen you two, no matter what number you divide by zero, ... Multiple by an odd number. ...
    (alt.usage.english)
  • Re: OT: must see TV : "America at a Crossroads" | PBS Frontline Series | 11 parts airing all this we
    ... Islam has not produced many notable guitar players. ... European lutes and guitars. ... we received our now indispensable zero digit from ... the Arabs, meaning medieval period Islamic mathematicians, who I do suspect ...
    (alt.guitar.beginner)
  • Re: Are Polynomials really C ^Infinity (Smooth) Differentiable
    ... I am stuck on the first one by a yokel from rural Lincolnshire called Isaac ... function zero is the constant function zero is logically equivalent to ... "Claytons" for every imaginable concept. ... Why does one always have to drag mathematicians kicking and screaming to the ...
    (sci.math)