- Notifications
You must be signed in to change notification settings - Fork5.3k
Commit8fe4aef
committed
Replace internal C function pg_hypot() by standard hypot()
The code comment said, "It is expected that this routine willeventually be replaced with the C99 hypot() function.", so let's dothat now.This function is tested via the geometry regression test, so if it isfaulty on any platform, it will show up there.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/flat/170308e6-a7a3-4484-87b2-f960bb564afa%40eisentraut.org1 parent47c7a7e commit8fe4aef
File tree
4 files changed
+6
-82
lines changed- src
- backend
- access/spgist
- utils/adt
- include/utils
4 files changed
+6
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
1279 | | - | |
| 1279 | + | |
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
| |||
2001 | 2001 | | |
2002 | 2002 | | |
2003 | 2003 | | |
2004 | | - | |
| 2004 | + | |
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
| |||
5005 | 5005 | | |
5006 | 5006 | | |
5007 | 5007 | | |
5008 | | - | |
| 5008 | + | |
5009 | 5009 | | |
5010 | 5010 | | |
5011 | 5011 | | |
| |||
5020 | 5020 | | |
5021 | 5021 | | |
5022 | 5022 | | |
5023 | | - | |
| 5023 | + | |
5024 | 5024 | | |
5025 | 5025 | | |
5026 | 5026 | | |
| |||
5492 | 5492 | | |
5493 | 5493 | | |
5494 | 5494 | | |
5495 | | - | |
5496 | | - | |
5497 | | - | |
5498 | | - | |
5499 | | - | |
5500 | | - | |
5501 | | - | |
5502 | | - | |
5503 | | - | |
5504 | | - | |
5505 | | - | |
5506 | | - | |
5507 | | - | |
5508 | | - | |
5509 | | - | |
5510 | | - | |
5511 | | - | |
5512 | | - | |
5513 | | - | |
5514 | | - | |
5515 | | - | |
5516 | | - | |
5517 | | - | |
5518 | | - | |
5519 | | - | |
5520 | | - | |
5521 | | - | |
5522 | | - | |
5523 | | - | |
5524 | | - | |
5525 | | - | |
5526 | | - | |
5527 | | - | |
5528 | | - | |
5529 | | - | |
5530 | | - | |
5531 | | - | |
5532 | | - | |
5533 | | - | |
5534 | | - | |
5535 | | - | |
5536 | | - | |
5537 | | - | |
5538 | | - | |
5539 | | - | |
5540 | | - | |
5541 | | - | |
5542 | | - | |
5543 | | - | |
5544 | | - | |
5545 | | - | |
5546 | | - | |
5547 | | - | |
5548 | | - | |
5549 | | - | |
5550 | | - | |
5551 | | - | |
5552 | | - | |
5553 | | - | |
5554 | | - | |
5555 | | - | |
5556 | | - | |
5557 | | - | |
5558 | | - | |
5559 | | - | |
5560 | | - | |
5561 | | - | |
5562 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | 277 | | |
0 commit comments
Comments
(0)