Commit ac0d1d7b authored by David Flynn's avatar David Flynn Committed by David Flynn
Browse files

attr/m47378: increase fixed point precision to 15bit

parent b1e2cf7e
...@@ -44,7 +44,7 @@ namespace pcc { ...@@ -44,7 +44,7 @@ namespace pcc {
class FixedPoint { class FixedPoint {
public: public:
// Number of fractional bits in fixed point representation // Number of fractional bits in fixed point representation
static const int kFracBits = 8; static const int kFracBits = 15;
static const int kOneHalf = 1 << (kFracBits - 1); static const int kOneHalf = 1 << (kFracBits - 1);
// Fixed point value // Fixed point value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment