Closed yav closed 5 years ago
It looks like sally's to_int function rounds towards 0. It would be nice to also have a floor function, which always rounds down, to match the functionality of jkind. For example see:
to_int
floor
jkind
https://github.com/agacek/jkind/blob/master/testing/cast.lus
Never mind, I was confused---the SMTLIB standard says that to_int rounds towards negative infinity and this is what sally does.
sally
So I am going to close this for now.
It looks like sally's
to_int
function rounds towards 0. It would be nice to also have afloor
function, which always rounds down, to match the functionality ofjkind
. For example see:https://github.com/agacek/jkind/blob/master/testing/cast.lus