add isl_aff_coefficient_sgn
commit94687ce0f444adb111925faa6f317486c8f006ff
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 11 Nov 2013 20:55:31 +0000 (11 21:55 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 26 Oct 2014 12:08:24 +0000 (26 13:08 +0100)
treed556b478d472c0b70efaf2f06fe40d46444f5dd0
parenta0c3d6181a3915b0270a953dae4ad4fcf1523171
add isl_aff_coefficient_sgn

In some cases, only the sign of a coefficient is relevant.
This function allows users to obtain this sign without first
having to obtain the coefficient value itself and then later freeing
that value again.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/aff.h
isl_aff.c