math: introduce get_absolute_min/max()
commit5e3b4e84d090e6a1248f8eac117fa8ffaddd6b09
authorDan Carpenter <error27@gmail.com>
Thu, 29 Apr 2010 12:06:38 +0000 (29 14:06 +0200)
committerDan Carpenter <error27@gmail.com>
Thu, 29 Apr 2010 12:06:38 +0000 (29 14:06 +0200)
treec09bd34a40cfbc55f8c33787aa48b1d68bcb4d62
parent056f4686e5f47d7dd0d03fcd222fcf89afa0a4b8
math: introduce get_absolute_min/max()

get_implied_max() is when we know a limit.
get_fuzzy_max() is when we don't know a limit but we know it includes XXX.
get_absolute_max() returns either an implied max or the max of the type.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch.h
smatch_math.c