Decimals.jl icon indicating copy to clipboard operation
Decimals.jl copied to clipboard

Unclear option `normal` in `round` function

Open hurak opened this issue 5 years ago • 0 comments

I find the role of normal option in round function quite unclear and perhaps even confusing. Does it read "normalize after rounding"? The code on line 5 and 9 speaks against it:

(normal) ? x : normalize(x, rounded=true)

If it is to be read as "do not normalize", the name of this variable is confusing. The more so that there is no docstring there.

hurak avatar Sep 11 '19 21:09 hurak