Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16333
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: gives 919.8359999999999?` |
| Date | 2013-12-08 09:41 +0000 |
| Message-ID | <l81ess$922$1@smc.vnet.net> (permalink) |
| References | <20131205080510.023806A20@smc.vnet.net> <20131206071605.E4A986A38@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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@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@hotmail.com> wrote:
>
>> FullForm[916.536 + 3.3] gives 919.8359999999999 instead of 919.836?
>>
>> Guillermo
>>
>
>
---
Murray Eisenberg
murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower
University of Massachusetts
710 North Pleasant Street
Amherst, MA 01003-9305
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: gives 919.8359999999999?` Murray Eisenberg <murray@math.umass.edu> - 2013-12-08 09:41 +0000
csiph-web