forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request diffblue#2565 from tautschnig/vs-float-bvt
Cleanup of float_bvt
- Loading branch information
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,6 @@ Author: Daniel Kroening, [email protected] | |
class float_bvt | ||
{ | ||
public: | ||
float_bvt() | ||
{ | ||
} | ||
|
||
~float_bvt() | ||
{ | ||
} | ||
|
||
exprt operator()(const exprt &src) | ||
{ | ||
return convert(src); | ||
|
@@ -101,7 +93,7 @@ class float_bvt | |
const exprt &, | ||
const ieee_float_spect &); | ||
|
||
protected: | ||
private: | ||
// helpers | ||
ieee_float_spect get_spec(const exprt &); | ||
// still biased | ||
|
@@ -116,7 +108,6 @@ class float_bvt | |
|
||
struct rounding_mode_bitst | ||
{ | ||
public: | ||
// these are mutually exclusive, obviously | ||
exprt round_to_even; | ||
exprt round_to_zero; | ||
|
@@ -168,7 +159,7 @@ class float_bvt | |
biased_floatt bias(const unbiased_floatt &, const ieee_float_spect &); | ||
|
||
// this takes unpacked format, and returns packed | ||
virtual exprt rounder( | ||
exprt rounder( | ||
const unbiased_floatt &, | ||
const exprt &rm, | ||
const ieee_float_spect &); | ||
|