home

=CSE 221=

I (Hugh) seem to answer a lot of questions over email. From now on, when I send out an answer that might help other students as well, I'll put it in the wiki. Check to see if I'm put something up here that will help you with your assignments.

In addition, please feel free to create and edit pages. I probably won't put information about lecture topics here, but you're welcome to do so and share with the class. If you want to point other students to a helpful resource, or point out a coding trick, make a page for it. The only thing I want to restrict is giving out code that will directly contribute to getting an assignment: I can do that, but you may not.

Useful pages:

 * Submitting work: a guide to making sure your submissions work correctly
 * printf: printf probably does more than you think
 * git: probably the biggest non-C source of frustrations
 * SSH better: tricks to simplify how you use ssh
 * Coding with emacs: this is how I code; you're welcome to do whatever you like

Code samples:

 * get_exponent: Isolate the exponent of a float
 * b16_set_exponent: An example of manipulating our binary16 fields
 * set_exp_zero: Leave a float otherwise unchanged, but set its exponent to zero
 * count_set_bits: Return the number of bits set to "1" in an integer.
 * function pointers: examples on using function pointers