Project

General

Profile

« Previous | Next » 

Revision 5de6d0b3

Added by peterzhu2118 (Peter Zhu) 12 months ago

[DOC] Fix granularity calculation

The granularity is calculated as 10 ** ndigits.abs rather than
ndigits.abs * 10. For example, if ndigits is -2, it should be
10 ** 2 == 100 rather than 2 * 10 == 20.