forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0736fc1
committed
Clarify the choice of rscale in numeric_sqrt().
Improve the comment explaining the choice of rscale in numeric_sqrt(),and ensure that the code works consistently when other values ofNBASE/DEC_DIGITS are used.Note that, in practice, we always expect DEC_DIGITS == 4, and thisdoes not change the computation in that case.Joel Jacobson and Dean RasheedDiscussion:https://postgr.es/m/06712c29-98e9-43b3-98da-f234d81c6e49%40app.fastmail.com1 parent9a84f29 commit0736fc1
1 file changed
+15
-2
lines changedLines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3693 | 3693 |
| |
3694 | 3694 |
| |
3695 | 3695 |
| |
3696 |
| - | |
3697 |
| - | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
3698 | 3711 |
| |
3699 | 3712 |
| |
3700 | 3713 |
| |
|
0 commit comments
Comments
(0)