News for hackers. Stuff that matters.
Re:What every computer programmer should know about floating... by baldajan on Tuesday September 16, 2014 @12:18AM (#8322998)
[Originally a reply to a statement that "1.0" should be reliable on systems because of the spec]

Yeah, but all systems are made by humans, and all humans make mistakes - hence the GPU fragment shader error on the A7 that would occur sporadically over a "block-ish" region of pixels, even when I was drawing a square, values varied inside the square.

Generally, these types of faults (in the fragment shader) are unnoticeable, since you can only output color, and not debug on a per value basis (at least in XCode). 0.9999999999 and 1.0 would produce the same color on the screen. So even if a fault exists, there would have little incentive to fix it.

There are no comments on this comment yet.