Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability

Reply
 
Thread Tools Display Modes
  #11  
Old 06-24-2005, 06:46 PM
mmbt0ne mmbt0ne is offline
Senior Member
 
Join Date: Aug 2004
Location: Atlanta, GA
Posts: 700
Default Re: Got my calculator to lie

I typed it in exactly as you listed and also got 37000037 on my HP49G.
Reply With Quote
  #12  
Old 06-26-2005, 09:06 AM
SpaceAce SpaceAce is offline
Senior Member
 
Join Date: Dec 2003
Posts: 1,074
Default Re: Got my calculator to lie

Google says 37,000,019: Link

SpaceAce
Reply With Quote
  #13  
Old 06-26-2005, 12:46 PM
young nut young nut is offline
Senior Member
 
Join Date: Jul 2004
Posts: 157
Default Re: Got my calculator to lie

get out and enjoy the sun, its summer [img]/images/graemlins/smirk.gif[/img]
Reply With Quote
  #14  
Old 06-26-2005, 08:04 PM
DiceyPlay DiceyPlay is offline
Member
 
Join Date: Jul 2004
Posts: 98
Default Re: Got my calculator to lie

Don't all calculators lie if you push the right buttons?
Reply With Quote
  #15  
Old 06-27-2005, 10:37 AM
thejameser thejameser is offline
Senior Member
 
Join Date: Mar 2005
Location: I\'m a FAG:Frugal Aggressive(Not that there is anything wrong with that)
Posts: 410
Default Re: Got my calculator to lie

good old excel, never lets you down.
Reply With Quote
  #16  
Old 06-27-2005, 11:08 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Got my calculator to lie

[ QUOTE ]
[ QUOTE ]
aside: the Python interpreter gives 37000018.952451177 (the same as Microsoft Excel)

[/ QUOTE ]

good old excel, never lets you down.

[/ QUOTE ]

Actually it's

37000018.99999691892045945848382198708809508015441 883444890452031261651529402910555642951

according to http://www.sun-microsystems.org/BigC...lculator.shtml, which can compute it to any number of decimal places you want. That agrees with the windows calculator out the 24th decimal place, which is all the windows calculator displays. If you ask for 160 digits, the first 80 digits don't change. The idea that the displayed digits have to be inaccurate is nonsense. Designers are just lazy.
Reply With Quote
  #17  
Old 06-27-2005, 11:18 AM
thejameser thejameser is offline
Senior Member
 
Join Date: Mar 2005
Location: I\'m a FAG:Frugal Aggressive(Not that there is anything wrong with that)
Posts: 410
Default Re: Got my calculator to lie

unexcusable laziness.
Reply With Quote
  #18  
Old 06-27-2005, 11:30 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Got my calculator to lie

[ QUOTE ]
Just lucky that the 32 digits carried in the Windows calculator happen to have been sufficient this time around. But it isn't that the Windows calculator is all that much smarter!

[/ QUOTE ]

The windows calculator makes this claim:

Extended Precision, a feature of Calculator, means that all operations are accurate to at least 32 digits. Calculator also stores rational numbers as fractions to retain accuracy. For example, 1/3 is stored as 1/3, rather than .333. However, errors accumulate during repeated operations on irrational numbers. For example, Calculator will truncate pi to 32 digits, so repeated operations on pi will lose accuracy as the number of operations increases.
Reply With Quote
  #19  
Old 06-29-2005, 04:19 PM
sakki sakki is offline
Junior Member
 
Join Date: Mar 2005
Posts: 8
Default Re: Got my calculator to lie

Light-weight [img]/images/graemlins/wink.gif[/img] analysis on the reasons why the results are inaccurate:
What every computer scientist should know about floating-point arithmetics

The fact is that it's not possible to represent e.g. 1/10 or 1/3 accurately with typical binary notations.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.