Re: Bug in 5.1??
- To: mathgroup at smc.vnet.net
- Subject: [mg54469] Re: Bug in 5.1??
- From: "Dana DeLouis" <delouis at bellsouth.net>
- Date: Mon, 21 Feb 2005 03:44:38 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Seems to me that the loss of precision returns an "Interval", which is still
greater than zero. It looks like the cutoff between True & False is a hair
above -1, which doesn't make sense to me either.
Interval[N[5, 2]]
Interval[{4.9, 5.1}]
N[5, 2] > -1
True
N[5, 2] > -1 + $MachineEpsilon
False
--
Dana DeLouis
Mathematica 5.1
Win XP
"Gehrmann, James E" <jgehrman at saclink.csus.edu> wrote in message
news:cv6qvv$68d$1 at smc.vnet.net...
> I'm running Mathematica v. 5.1 under WinXP and had the following
interaction with Mathematica:
>
> 5>0
>
> True
>
> 5.>0
>
> True
>
> N[5]>0
>
> True
>
> N[5,3]>0
>
> True
>
> N[5,2]>0
>
> False
>
> N[50000,2]>0
>
> False
>
> Are the last two results a bug or am I not understanding the N function?
>
> Thanks for you help.
>
- Follow-Ups:
- Re: Re: Bug in 5.1??
- From: DrBob <drbob@bigfoot.com>
- Re: Re: Bug in 5.1??