diff options
author | Checkmate50 <dgeisler50@gmail.com> | 2015-09-17 03:14:27 -0600 |
---|---|---|
committer | Checkmate50 <dgeisler50@gmail.com> | 2015-09-17 03:14:27 -0600 |
commit | 28a20e6eba2919e008f70874b4c12a3ce7ad049c (patch) | |
tree | 58050f22ea944eb07620195303d757424f50b2a9 /Source/Core/Parser.cs | |
parent | bb5395b35dcea5078c9b38a2f091f26256faac34 (diff) |
Added initial support for float addition
Diffstat (limited to 'Source/Core/Parser.cs')
-rw-r--r-- | Source/Core/Parser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Parser.cs b/Source/Core/Parser.cs index 2550c334..889d7be8 100644 --- a/Source/Core/Parser.cs +++ b/Source/Core/Parser.cs @@ -678,7 +678,7 @@ private class BvBounds : Expr { Expect(10);
}
else
- ty = new FloatType(t, 8, 23);
+ ty = new FloatType(t, 8, 24);
} else if (la.kind == 16) {
Get();
ty = new BasicType(t, SimpleType.Bool);
@@ -1914,7 +1914,7 @@ out List<Variable>/*!*/ ins, out List<Variable>/*!*/ outs, out QKeyValue kv) { catch (FormatException)
{
this.SemErr("incorrectly formatted floating point");
- n = BigFloat.ZERO(8, 23);
+ n = BigFloat.ZERO(8, 24);
}
}
|