mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
84c7df75d6
commit
8b4e1c1209
3 changed files with 9 additions and 6 deletions
|
@ -230,6 +230,10 @@ void mpq_manager<SYNCH>::set(mpq & a, char const * val) {
|
|||
exp_sign = true;
|
||||
++str;
|
||||
}
|
||||
else if (str[0] == '+') {
|
||||
exp_sign = false;
|
||||
++str;
|
||||
}
|
||||
while (str[0]) {
|
||||
if ('0' <= str[0] && str[0] <= '9') {
|
||||
SASSERT(str[0] - '0' <= 9);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue