sat-math: Introduce macro version of SAT_MUL.
authorBen Pfaff <blp@nicira.com>
Thu, 31 May 2012 00:05:34 +0000 (17:05 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 21 Jun 2012 15:00:07 +0000 (08:00 -0700)
commit8d2835d8c9fde763d3dd9790f38eac0595d5024a
tree81b79dbe9d2bfe81b9940ecf97461d591e47aa76
parent68941e3f99fb5a3e1ef7f7b7b700b252c1f4d82f
sat-math: Introduce macro version of SAT_MUL.

The macro version can be used in a constant expression, such as an
initializer for a variable with static lifetime.  (Otherwise, it's better
to use the function.)

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/sat-math.h