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
- Follow-Ups:
- Re: standard floating point arithmetic in Mathematica?
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: standard floating point arithmetic in Mathematica?