MathGroup Archive 2011

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

Search the Archive

Re: Chop in Mathematica 8.0.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117554] Re: Chop in Mathematica 8.0.1
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Tue, 22 Mar 2011 05:09:47 -0500 (EST)

Same thing for same version (8.0.1) but under Windows XP -- except that, 
evidently, you've increased the numerical display precision from its 
normal default.

On 3/21/2011 7:18 AM, Andrzej Kozlowski wrote:
> Chop does not seem to work properly in Mathematica 8.0.1:
>
> f[a_] := 2 I Pi Sin[a]/a
>
> In[2]:= f[1.]
>
> Out[2]= 0. + 5.287118128162912*I
>
> In[3]:= Chop[%]
>
> Out[3]= 0. + 5.287118128162912*I
>
> This is with
>
> In[4]:= $Version
>
> Out[4]= 8.0 for Mac OS X x86 (64-bit) (February 23, 2011)
>
>   Mathematica 7.01 returns 5.287118128162912*I as expected.
>
> Can anyone confirm it? At the moment I can't see any simple work around...
>
> Andrzej Kozlowski
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: NestList integration bug?
  • Next by Date: Re: NonlinearModelFit: Freezing parameters
  • Previous by thread: Re: Chop in Mathematica 8.0.1
  • Next by thread: Re: Chop in Mathematica 8.0.1