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: [mg73794] Re: 1>0 gives False
  • From: "dimitris" <dimmechan at yahoo.com>
  • Date: Wed, 28 Feb 2007 04:41:30 -0500 (EST)
  • References: <es13hf$o75$1@smc.vnet.net>

=CF/=C7 dh =DD=E3=F1=E1=F8=E5:
> $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

The same holds true for Version 5.2

In[34]:=
1=2E`1.9999999999999998 > 0
Out[34]=
False

In[35]:=
1=2E`2.9999999999999996 > 0
Out[35]=
True

In[85]:=
2=2E`1.9999999999999998 > 1
Out[85]=
False



  • Prev by Date: Re: Roman Numerals -- Thanks
  • Next by Date: monomials in Graded Lexicographic Order and associated factorials - correction
  • Previous by thread: Re: 1>0 gives False
  • Next by thread: NMinimize and Constraints