add helper is_positive()
commit28cd6d609ea460c6138f8cd17f89fc9885fb7dc2
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 9 Feb 2021 01:30:40 +0000 (9 02:30 +0100)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sun, 18 Apr 2021 15:21:37 +0000 (18 17:21 +0200)
treef61fcccb21475bb526aded4eb391a6471aa5ba74
parent7ae82c3a41c71c977e409dd20679bc4aec19961c
add helper is_positive()

Add a small helper to test if a pseudo is a positive (= non-negative)
constant (for a given bitsize).

It's meant to make some conditions more readable.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
linearize.h