Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions include/Decimal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@
namespace voltdb {
//The int used for storage and return values
#ifdef TTMATH_PLATFORM64
typedef ttmath::Int<2> TTInt;
#define TTMATH_INT_SIZE 2
#else
typedef ttmath::Int<4> TTInt;
#define TTMATH_INT_SIZE 4
#endif
typedef ttmath::Int<TTMATH_INT_SIZE> TTInt;

/*
* A class for constructing Decimal values with the fixed precision and scale supported by VoltDB
Expand Down