Message406830
I'm not sure this is worth worrying about. We already have a very tight error bound on the result: if `x` is a (positive) fraction and `y` is the closest float to x, (and assuming IEEE 754 binary64, round-ties-to-even, no overflow or underflow, etc.) then `math.sqrt(y)` will be in error by strictly less than 1 ulp from the true value √x, so we're already faithfully rounded. (And in particular, if the std. dev. is exactly representable as a float, this guarantees that we'll get that standard deviation exactly.) |
|
Date |
User |
Action |
Args |
2021-11-23 09:47:17 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, steven.daprano |
2021-11-23 09:47:17 | mark.dickinson | set | messageid: <1637660837.66.0.611458091722.issue45876@roundup.psfhosted.org> |
2021-11-23 09:47:17 | mark.dickinson | link | issue45876 messages |
2021-11-23 09:47:17 | mark.dickinson | create | |
|