forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit686d399
committed
Fix non-portable use of round().
round() is from C99. Use rint() instead. There are behavioraldifferences between round() and rint(), but they should not matter tothe Bloom filter optimal_k() function. We already assume POSIXbehavior for rint(), so there is no question of rint() not using"rounds towards nearest" as its rounding mode.Cleanup from commit51bc271.Per buildfarm member thrips.Author: Peter GeogheganDiscussion:https://postgr.es/m/CAH2-Wzn76eCGUonARy-wrVtMHsf+4cvbK_oJAWTLfORTU5ki0w@mail.gmail.com1 parent7f563c0 commit686d399
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
|
0 commit comments
Comments
(0)