Added MOD and implemented ADD, SUB & MUL using WHILE reducing internal repetition

[SVN r12009]
This commit is contained in:
Vesa Karvonen
2001-12-10 22:11:42 +00:00
parent ef938f3335
commit cd69e240b3
8 changed files with 349 additions and 535 deletions

View File

@ -25,5 +25,9 @@
#endif
//! Expands to 1 if X<=Y and 0 otherwise.
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PREPROCESSOR_NOT(BOOST_PREPROCESSOR_SUB(X,Y))
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PREPROCESSOR_LESS_EQUAL_I(0,X,Y)
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define BOOST_PREPROCESSOR_LESS_EQUAL_I(I,X,Y) BOOST_PREPROCESSOR_NOT(BOOST_PREPROCESSOR_SUB_I(I,X,Y))
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
#endif