I just bought a big and expensive programming book at Powell's, from MIT Press, and in one of the first meaningful code sample, in the very beginning I read:
#define PI = 3.1592654
WTF!!! There are 2 bugs in this line, and I paid 80 bucks for the book!
Btw I am staying in Portland until next Sunday, so if you are around plz give me a shout..
#define PI = 3.1592654
WTF!!! There are 2 bugs in this line, and I paid 80 bucks for the book!
Btw I am staying in Portland until next Sunday, so if you are around plz give me a shout..
no subject
Date: 2019-09-22 04:15 am (UTC)Strangely, for many years I believed that FFP has some constants, including π... obviously, it was only in my implementation.
no subject
Date: 2019-09-22 04:29 am (UTC)no subject
Date: 2019-09-22 05:15 am (UTC)no subject
Date: 2019-09-22 07:37 am (UTC)no subject
Date: 2019-09-22 10:46 am (UTC)no subject
Date: 2019-09-22 10:46 am (UTC)no subject
Date: 2019-09-22 01:32 pm (UTC)no subject
Date: 2019-09-22 02:08 pm (UTC)no subject
Date: 2019-09-22 02:09 pm (UTC)