Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Multiplication by 0: non-zero in versions 8 and 9

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131171] Multiplication by 0: non-zero in versions 8 and 9
  • From: Sotirios Bonanos <sbonano at inp.demokritos.gr>
  • Date: Sat, 15 Jun 2013 04:23:48 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

Hello , 

I have noticed that in all Mathematica versions <8, multiplying a real or complex number by the integer 0 gives 0, but in versions 8 and 9 

Times[0, 0.567] gives 0. 

and 

Times[1.23 + I 2.45, 0] gives 0. + 0. I 

I don't know what prompted this change but it is definitely wrong: the zero property of multiplication holds for real and complex numbers also (see https://en.wikipedia.org/wiki/Multiplication#Properties) . 

Sotirios Bonanos 
http://www.inp.demokritos.gr/~sbonano/ 




  • Prev by Date: Re: What is wrong with 2Pi?
  • Next by Date: fit curve on to an imported graph
  • Previous by thread: Re: Calculation of a not so simple integral
  • Next by thread: Re: Multiplication by 0: non-zero in versions 8 and 9