Constants

Git Source

uMAX_SD49x28

Max SD49x28 value

int256 constant uMAX_SD49x28 = type(int256).max;

uMIN_SD49x28

Min SD49x28 value

int256 constant uMIN_SD49x28 = type(int256).min;

uUNIT

The unit number, which gives the decimal precision of SD49x28.

int256 constant uUNIT = 1e28;

UNIT

SD49x28 constant UNIT = SD49x28.wrap(uUNIT);

SCALING_FACTOR

int256 constant SCALING_FACTOR = 1e10;