Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16333 > unrolled thread
| Started by | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| First post | 2013-12-08 09:41 +0000 |
| Last post | 2013-12-08 09:41 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: gives 919.8359999999999?` Murray Eisenberg <murray@math.umass.edu> - 2013-12-08 09:41 +0000
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Date | 2013-12-08 09:41 +0000 |
| Subject | Re: gives 919.8359999999999?` |
| Message-ID | <l81ess$922$1@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@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 top | Article view | comp.soft-sys.math.mathematica
csiph-web