Closed c-blake closed 1 month ago
This PR does 3 things:
Allow compile-time setting of printing precision (number of places for the error; cligen/strUt.fmtUncertain rounds value to same decimal).
cligen/strUt.fmtUncertain
Pi -> PI because that is how std/math.nim spells it. This lets users do nim c --hint:Name:on --styleCheck=error --styleCheck=usages.
Pi
PI
std/math.nim
nim c --hint:Name:on --styleCheck=error --styleCheck=usages
Add inverse-var weighted averaging operator & varargs/openArray reducer with a URI justifying the weights.
Thanks a lot!
This PR does 3 things:
Allow compile-time setting of printing precision (number of places for the error;
cligen/strUt.fmtUncertain
rounds value to same decimal).Pi
->PI
because that is howstd/math.nim
spells it. This lets users donim c --hint:Name:on --styleCheck=error --styleCheck=usages
.Add inverse-var weighted averaging operator & varargs/openArray reducer with a URI justifying the weights.