Re: [Mingw-users] msvcrt printf bug
- Date: Sun, 05 Feb 2017 11:29:57 +0800
- From: KHMan <keinhong@xxxxxxxxx>
- Subject: Re: [Mingw-users] msvcrt printf bug
On 2/5/2017 10:29 AM, Emanuel Falkenauer wrote:
> Hi KHMan,
>> The phrasing in Rick Regan's articles may mislead some folks.
> I can't help to interpret your "folks" as derogatory and patronizing,
> but anyway...
Keith Marshall was way more blunt, nobody complained, not even a peep.
I carefully write a diplomatic sentence about an issue we disagree
about, you jump all over me.
Just who is always channeling all the "derogatory and patronizing"
>> Articles by R Regan, B Dawson, etc. discusses where are some exact
>> tick marks on a line of all floating point values. These tick
>> marks are the exact values of the binary formats of floating point
>> floats and doubles. This concept is only useful if your value is
>> precisely on a tick mark -- an artificial condition that can only
>> be meaningfully enforced in mathematical studies like what they
>> are doing.
> Well, if BY DEFINITION their "tick marks" are exactly where a binary
> float can EVER fall, how would you construct "your value" that is NOT
> "precisely on a tick mark"? Unless they made a mathematical mistake (I
> admit I didn't read the detail of their papers to spot one), your
> objection has simply no sense whatsoever.
A value can be somewhere on the line (say I want to store 0.1),
its closest IEEE binary representation is a tick mark. That tick
mark is not exactly 0.1, but very close. It's approximate. Then I
calculate A*A. I get something very close to 0.01. When rounded
appropriately, I might get 0.01. It's approximate.
Well, I read postings by Keith, Earnie, Eli, Peter, Mitch, etc. --
I think this one side is all on the same page on floating-point.
I really don't know how else we can explain things to the other side.
> Lo and behold: contrary to popular belief of some "folks", not all
> mathematicians are loonies who have no idea how real world (e.g.
> computers) work. ;-)
Kein-Hong Man (esq.)
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
This list observes the Etiquette found at
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: