August 2024
Intermediate to advanced
792 pages
22h 45m
English

In this chapter, you’ll implement the unsigned counterparts to our two signed integer types: unsigned int and unsigned long. You’ll extend the usual arithmetic conversions to handle unsigned integers and implement casts between signed and unsigned types. On the backend, you’ll use a few new assembly instructions to do unsigned integer arithmetic.
In Chapter 11, we focused on inferring and tracking type information in general; now we’ll be able to build on that work to add new types with relatively little ...
Read now
Unlock full access