Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Re: Bug in 5.1??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54474] Re: [mg54448] Re: [mg54349] Bug in 5.1??
  • From: DrBob <drbob at bigfoot.com>
  • Date: Mon, 21 Feb 2005 03:44:42 -0500 (EST)
  • References: <200502190731.CAA06006@smc.vnet.net> <200502200510.AAA20238@smc.vnet.net> <4c4999024df22cbc6130f43c15a9691c@mimuw.edu.pl>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

N[50000,2] should represent something between, say, 49500 and 50500, both of which are positive. If it means something other than that, please enlighten us!!

Meanwhile, perhaps we can use Interval to interpret it:

Interval[N[50000, 2]]//InputForm
Interval[
   {49488.`1.9955298983230858,
    50512.`2.0044245602121236}]

Interval@N[50000,2]>0
True

So I don't see how this makes sense:

N[50000,2]>0
False

Bobby

On Sun, 20 Feb 2005 10:53:16 +0100, Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote:

> Then surely you must have filed a bug report as it would be
> irresponsible not to!
>
> Andrzej Kozlowski
>
> On 20 Feb 2005, at 06:10, DrBob wrote:
>
>> This behavior will find defenders, I'm sure, but it certainly looks
>> like a bug to ME.
>>
>> Bobby
>>
>> On Sat, 19 Feb 2005 02:31:49 -0500 (EST), Gehrmann, James E
>> <jgehrman at saclink.csus.edu> wrote:
>>
>>> 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.
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> DrBob at bigfoot.com
>> www.eclecticdreams.net
>>
>>
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Re: Re: Re: Re: Bug Report - Two numerical values for a same variable
  • Next by Date: Re: Re: Bug in 5.1??
  • Previous by thread: Re: Bug in 5.1??
  • Next by thread: Re: Bug in 5.1??