Re: [dev] suckless bignum library

From: Greg Reagle <greg.reagle_AT_umbc.edu>
Date: Thu, 10 Dec 2015 13:36:10 -0500

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
Received on Thu Dec 10 2015 - 19:36:10 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 10 2015 - 19:48:11 CET