Skip to content

Commit

Permalink
Fix dependency compilation bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnayar committed May 25, 2019
1 parent e267472 commit 758a0e2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/s2/util/math/exactfloat.d
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ import std.bigint;
import std.range;
import traits = std.traits;

version(unittest) {
import std.conv;
}

struct ExactFloat {
public:
// The following limits are imposed by OpenSSL.
Expand Down Expand Up @@ -702,9 +698,7 @@ private:
// "double". This method handles non-normal values (NaN, etc).
double toDoubleHelper() const
in {
assert(prec() <= DOUBLE_MANTISSA_BITS,
"_bn=" ~ format.format("%d", _bn)
~ "\nprec()=" ~ prec().to!string ~ " should be < " ~ DOUBLE_MANTISSA_BITS.to!string);
assert(prec() <= DOUBLE_MANTISSA_BITS);
} do {
if (!isNormal()) {
if (isZero()) {
Expand Down

0 comments on commit 758a0e2

Please sign in to comment.