Workinig Though WACC – chapter 12, unsigned types

Easy as pie

This one turned out to be pretty simple. The test suite catches all the twiddly parts. Not much else to say

The only tricky bits

  • having to use shr instead of sar on unsigned types
  • not using cdq for an unsigned divide

These are covered in the text but, and this is a general observation, the text is very dense. It you speed read it you will miss very important points. I have to read each chapter several times and make margin notes, and still I miss tings. Fortunately, the test suite catches things.


Ran 607 tests in 55.521s

OK


Comments

Leave a comment