aboutsummaryrefslogtreecommitdiff
path: root/ch2 (follow)
AgeCommit message (Collapse)AuthorFilesLines
2013-02-27Solve Exercise 2-02: No logical operatorszlg1-0/+44
The text doesn't specify which technique to use. The section outlined operator precedence, but I couldn't think of a way to check for truth in the three main expressions without logical operators. So I turned to a recursive function. It works, but I'm not sure if it's what K&R were after.
2013-02-21Shorten 2-01's codezlg1-22/+2
There's no code like no code! :)
2013-02-21Correct 2-01 solutionzlg1-4/+14
FLT_MIN and DBL_MIN refer to the lowest _positive number_ representable in floating-point form on the machine, not the lowest _negative number_. Subtracting FLT_MAX from 0 will give you the minimum.
2013-02-21Solve Exercise 2-01: Variable limitszlg1-0/+142
Fixed gitignore list, too
ME.md: update to include mentions of *_date fieldszlg1-7/+26 2025-07-27Finish integrating support for p_date, et alzlg2-23/+59 2025-01-24Add support for p_date, b_date, c_date to CLIzlg2-48/+136 2025-01-24tox.ini: Update to Python 3.11 env by defaultzlg1-1/+1 2025-01-23schema1-to-2.py: Add shebang because I'm a doofuszlg1-0/+2 2023-09-22scripts: Add schema v1->v2 migration scriptzlg2-9/+85