mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Mark RATIONAL_PRECISION as inline constexpr
This commit is contained in:
parent
6a84805df1
commit
6150beab28
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace CalcEngine
|
|||
inline constexpr uint32_t RATIONAL_BASE = 10;
|
||||
|
||||
// Default Precision to use for Rational calculations
|
||||
static constexpr int32_t RATIONAL_PRECISION = 128;
|
||||
inline constexpr int32_t RATIONAL_PRECISION = 128;
|
||||
|
||||
class Rational
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue