Skip to main content
Helpful?

FixedPoint96

Git Source - Generated with forge doc

A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)

Used in SqrtPriceMath.sol

State Variables

RESOLUTION

uint8 internal constant RESOLUTION = 96;

Q96

uint256 internal constant Q96 = 0x1000000000000000000000000;
Helpful?