diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-07-08 19:32:45 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-07-09 08:55:58 -0400 |
| commit | 5de6d0b35f17520ada1c2e9433022827b14d780e (patch) | |
| tree | da9e462fddf18a76b9668b53e850a0d4505bc788 /test/ruby/test_lambda.rb | |
| parent | ad6b2e89851dd31f10f91aca408681ba39c23ede (diff) | |
[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`.
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
