Fix negative denominator in `boost::rational` during exponentiation.

This commit is contained in:
Daniel Kirchner
2018-11-06 10:52:10 +01:00
parent 88aee34c22
commit e036133d1b
3 changed files with 16 additions and 2 deletions
@@ -0,0 +1,5 @@
contract C {
function f() public pure returns (int) {
return (-1 / 2) ** -1;
}
}