The apd package replaces the underlying implementation of the DECIMAL type in CockroachDB and is available for anyone to fork and use.