NaN-preserving 1's Complement Subtraction

Here is a sample solution to Assignment 0: NaN-preserving 1's Complement Subtraction. This is the obvious version:

Here is another sample solution to Assignment 0: NaN-preserving 1's Complement Subtraction. This one is somewhat less obvious. The above solution essentially suffers two ripple-carry adder delays. The following still uses two adders, but does both adds simultaneously... so it's probably roughly twice as fast.


The C program that generated this page was written by Hank Dietz using the CGIC library to implement the CGI interface.


The Aggregate. Advanced Computer Architecture.