This preview shows page 1. Sign up to view the full content.
Unformatted text preview: /* Yields X rounded down to the nearest multiple of STEP. For X >= 0, STEP >= 1 only. */ #define ROUND_DOWN(X, STEP) ((X) / (STEP) * (STEP)) /* There is no DIV_ROUND_DOWN. It would be simply X / STEP. */ #endif /* lib/round.h */...
View Full Document
This note was uploaded on 02/19/2010 for the course EE 142 taught by Professor John during the Spring '04 term at Abraham Baldwin Agricultural College.
- Spring '04