Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: 1>0 gives False

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73766] Re: [mg73758] 1>0 gives False
  • From: Stern <nycstern at gmail.com>
  • Date: Wed, 28 Feb 2007 04:26:26 -0500 (EST)
  • References: <200702271054.FAA24273@smc.vnet.net>

I see similar odd behavior in 5.2 for Microsoft Windows (June 20, 2005)

(1`1) > 0
False

(1`2) > 0
False

(1`3) > 0
True

Forcing Mathematica to use real numbers all around does not seem to help.

(1`2) > 0`
False

Switching to the N function does not help either.

N[1, 2] > 0
False


On 2/27/07, dh <dh at metrohm.ch> wrote:
>
>
> $Version: 5.1 for Microsoft Windows (October 25, 2004)
>
> Hello,
>
> can anyone explain the following:
>
> 1`2 > 0
>
> False
>
> If we have 3 digits of precision: 1`3 we get the correct result.
>
> Daniel
>
>
>
>


  • Prev by Date: Re: 1>0 gives False
  • Next by Date: Questions ...
  • Previous by thread: 1>0 gives False
  • Next by thread: Re: 1>0 gives False