Bugs

Sep. 21st, 2019 08:31 pm
izard: (Default)
[personal profile] izard
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..

Date: 2019-09-22 04:15 am (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi
This is interesting.
Strangely, for many years I believed that FFP has some constants, including π... obviously, it was only in my implementation.

Profile

izard: (Default)
izard

November 2025

S M T W T F S
       1
2345678
910 1112131415
1617 1819202122
23242526272829
30      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 16th, 2026 09:20 am
Powered by Dreamwidth Studios