Re: gives 919.8359999999999?`
- To: mathgroup at smc.vnet.net
- Subject: [mg132109] Re: gives 919.8359999999999?`
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 8 Dec 2013 04:33:58 -0500 (EST)
- 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
- References: <20131205080510.023806A20@smc.vnet.net> <20131206071605.E4A986A38@smc.vnet.net>
Then perhaps the original question should have been to reconcile: FullForm[916.536 + 3.3] 919.8359999999999` NumberForm[916.536 + 3.3, 15] 919.836 On Dec 6, 2013, at 2:16 AM, Sseziwa Mukasa <mukasa at gmail.com> wrote: > Because by default non-integer values are stored as machine precision values and the values displayed are typically displayed up to 5 decimal places but FullForm displays a more accurate representation of the actual machine precision value. > > On Dec 5, 2013, at 3:05 AM, Guillermo Sanchez <guillermo.sanchez at hotmail.com> wrote: > >> FullForm[916.536 + 3.3] gives 919.8359999999999 instead of 919.836? >> >> Guillermo >> > > --- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower University of Massachusetts 710 North Pleasant Street Amherst, MA 01003-9305
- References:
- Why FullForm[916.536 + 3.3] gives 919.8359999999999?`
- From: Guillermo Sanchez <guillermo.sanchez@hotmail.com>
- Re: gives 919.8359999999999?`
- From: Sseziwa Mukasa <mukasa@gmail.com>
- Why FullForm[916.536 + 3.3] gives 919.8359999999999?`