mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -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;
|
inline constexpr uint32_t RATIONAL_BASE = 10;
|
||||||
|
|
||||||
// Default Precision to use for Rational calculations
|
// Default Precision to use for Rational calculations
|
||||||
static constexpr int32_t RATIONAL_PRECISION = 128;
|
inline constexpr int32_t RATIONAL_PRECISION = 128;
|
||||||
|
|
||||||
class Rational
|
class Rational
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue