Wednesday, 26 November 2003

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)

Co-worker trying to convince me that "0.5 is not exactly representable in [binary] floating-point".

Hello? It's exactly 2-1. Of course it's exactly representable!

Maybe you were thinking of 0.1 or something, which isn't representable exactly in binary. But not 0.5.

A little knowledge is a dangerous thing.

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Saturday, 3 January 2026 17:14
Powered by Dreamwidth Studios