summaryrefslogtreecommitdiff
path: root/src/parser/tptp/tptp.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-03-30 08:52:56 -0500
committerGitHub <noreply@github.com>2021-03-30 13:52:56 +0000
commita649c2f95ee929a6d922b9f44cadb4f909b5da6b (patch)
tree77f747d3f8e7f2041ca4cbc4736a8dda2219ecf2 /src/parser/tptp/tptp.h
parente5bf082fde4c8b3c10448cbf3cb962739df9cf66 (diff)
Eliminate use of rational from tptp parser (#6239)
Diffstat (limited to 'src/parser/tptp/tptp.h')
-rw-r--r--src/parser/tptp/tptp.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/parser/tptp/tptp.h b/src/parser/tptp/tptp.h
index d0459553f..76ae4ee3e 100644
--- a/src/parser/tptp/tptp.h
+++ b/src/parser/tptp/tptp.h
@@ -9,9 +9,7 @@
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
- ** \brief Definitions of TPTP constants.
- **
- ** Definitions of TPTP constants.
+ ** \brief Definition of TPTP parser
**/
#include "parser/antlr_input.h" // Needs to go first.
@@ -176,6 +174,13 @@ class Tptp : public Parser {
* what is necessary in parsing SMT-LIB.
*/
api::Term applyParseOp(ParseOp& p, std::vector<api::Term>& args);
+ /**
+ * Make decimal, returns a real corresponding to string ( snum "." sden ),
+ * negated if pos is false, having exponent exp, negated exponent if posE is
+ * false.
+ */
+ api::Term mkDecimal(
+ std::string& snum, std::string& sden, bool pos, size_t exp, bool posE);
private:
void addArithmeticOperators();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback