Fix mFAST CE with Boost 1.77.0 (#666)
parent
ff6aab2075
commit
5f11bb0b3d
2 changed files with 22 additions and 0 deletions
@ -0,0 +1,21 @@ |
||||
diff --git a/src/mfast/decimal_ref.h b/src/mfast/decimal_ref.h
|
||||
--- a/src/mfast/decimal_ref.h
|
||||
+++ b/src/mfast/decimal_ref.h
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
inline decimal make_decimal(int64_t mantissa, int16_t exponent) {
|
||||
decimal r(mantissa);
|
||||
- r *= decimal_backend(1.0, exponent);
|
||||
+ r *= decimal(decimal_backend(1.0, exponent));
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
decimal value() const {
|
||||
decimal r(mantissa());
|
||||
- r *= decimal_backend(1.0, exponent());
|
||||
+ r *= decimal(decimal_backend(1.0, exponent()));
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in new issue