MathGroup Archive 2014

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

Search the Archive

standard floating point arithmetic in Mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132479] standard floating point arithmetic in Mathematica?
  • From: Alan <alan.isaac at gmail.com>
  • Date: Thu, 27 Mar 2014 05:00:14 -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

I would like to illustrate some limitations with floating point calculations.  Can I force Mathematica to do floating point computations at a standard float size and the display the full results (as the same size float)?

E.g., if I enter
0.1+0.2
I would like to see
0.30000000000000004

Thanks,
Alan Isaac



  • Prev by Date: bug in InputForm (Mathematica 9)?
  • Next by Date: Re: Thick surface cordinates along surface normal.
  • Previous by thread: Re: bug in InputForm (Mathematica 9)?
  • Next by thread: Re: standard floating point arithmetic in Mathematica?