FloatingPoint: Clean up and document header, format. (#5453)
authorAina Niemetz <aina.niemetz@gmail.com>
Wed, 18 Nov 2020 00:45:39 +0000 (16:45 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 00:45:39 +0000 (16:45 -0800)
commit4bdba195950858dc1b2b9afa80d216dc58c66b68
tree7f8a2082fc3739d8d8f04e67cb893abd3ed7c0cc
parent7ffc3650a44859a51384eebbecb51bf199495102
FloatingPoint: Clean up and document header, format. (#5453)

This cleans up the src/util/floatingpoint.h.in header to conform to the
code style guidelines of CVC4. This further attempts to fully document
the header. The main changes (except for added documentation) are
renames of member variables, getting rid of the redundant functions
FloatingPointSize::exponent() and FloatingPointSize::significand(),
and a more explicit naming of CVC4 wrapper types vs symFPU trait
types. Else, it's mainly reordering and formatting.
src/api/cvc4cpp.cpp
src/expr/type_node.h
src/printer/smt2/smt2_printer.cpp
src/theory/fp/fp_converter.cpp
src/theory/fp/theory_fp_rewriter.cpp
src/theory/fp/theory_fp_type_rules.h
src/util/floatingpoint.cpp
src/util/floatingpoint.h.in