Web lists-archives.com

Re: [Mingw-users] msvcrt printf bug




On 1/18/2017 6:27 AM, tei.andu@xxxxxxxxxxxx wrote:
> [snip snip snip]
> See:
> http://stackoverflow.com/questions/3215235/how-do-you-print-the-exact-value-of-a-floating-point-number

The author stated:
   "the number required to “exactly print” its value"

This is flat out a monkey wrench that destroys the real-world 
concept of a floating-point value.

He assumes pristine, exact values. This notion of pristine, exact 
values disappears when you start doing calculations.

It's a magic kingdom, constrained to assumptions.

As for Emanuel's posting, I find it good for a chuckle. So the 
binary representations were fine, and they spent years moping 
about with ULP issues in ASCII representations. Look, some of us 
would have fixed that in an afternoon. Enough said.

-- 
Cheers,
Kein-Hong Man (esq.)
Selangor, Malaysia


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe