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: [mg117534] Re: Chop in Mathematica 8.0.1
  • From: Matthias Bode <lvsaba at hotmail.com>
  • Date: Tue, 22 Mar 2011 05:06:08 -0500 (EST)

Hola Andrzej:

In[1]:= f[a_] := 2*I*Pi*(Sin[a]/a)
f[1.]
Chop[%]
$Version

Out[2]= 0. + 5.287118128162912*I

Out[3]= 0. + 5.287118128162912*I

Out[4]= "8.0 for Microsoft Windows (32-bit) (February 24, 2011)"

In reality version 8.0.1.

Best regards,

MATTHIAS BODE
S 17.35775=B0, W 066.14577=B0
2'740 m
AMSL.



> Date: Mon, 21 Mar 2011 06:18:18 -0500
> From: akoz at mimuw.edu.pl
> Subject: [mg117525] Chop in Mathematica 8.0.1
> To: mathgroup at smc.vnet.net
>
> 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
>


  • Prev by Date: FinishDynamic out of Dynamic enviroment
  • Next by Date: Re: NestList integration bug?
  • Previous by thread: Re: Chop in Mathematica 8.0.1
  • Next by thread: Re: Chop in Mathematica 8.0.1