diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-03 21:21:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-03 21:21:03 +0000 |
commit | db04f2b3225aa7e6d496a087c4c0e46161744573 (patch) | |
tree | 3b266b93ef231ee79180afba740b3c472ad28d8a /src/backend/utils/adt/numeric.c | |
parent | 90a391c645774c2606ae4b82f4a07130afdd0a42 (diff) | |
download | postgresql-db04f2b3225aa7e6d496a087c4c0e46161744573.tar.gz postgresql-db04f2b3225aa7e6d496a087c4c0e46161744573.zip |
Replace the naive HYPOT() macro with a standards-conformant hypotenuse
function. This avoids unnecessary overflows and probably gives a more
accurate result as well.
Paul Matthews, reviewed by Andrew Geery
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions