On Thu, 10 Dec 2015 10:50:12 -0800
Louis Santillan <lpsan...@gmail.com> wrote:

> On Thu, Dec 10, 2015 at 10:36 AM, Greg Reagle
> <greg.rea...@umbc.edu> wrote:
> > On 12/10/2015 12:57 PM, FRIGN wrote:  
> >>
> >> What does the base have to do with the results?  
> >
> >
> > A lot.  For instance, "Many non-integral values, such
> > as decimal 0.2, have an infinite place-value
> > representation in binary (.001100110011...) but have a
> > finite place-value in binary-coded decimal (0.0010).
> > Consequently a system based on binary-coded decimal
> > representations of decimal fractions avoids errors
> > representing and calculating such values." from
> > https://en.wikipedia.org/wiki/Binary-coded_decimal#Advantages 
> 
> Ala the famous IEEE 754 example that became popular again
> with JavaScript [0].
> 
> [0] http://0.30000000000000004.com/
> 

Did the JavaScript-hipsters just discover this?

Attachment: pgprNxuXo2mAB.pgp
Description: OpenPGP digital signature

Reply via email to