package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
537 B
22 lines
537 B
3 years ago
|
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;
|
||
|
}
|
||
|
|