JuliaMath/Decimals.jl

Unclear option `normal` in `round` function

hurak opened this issue · 0 comments

hurak commented

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.