aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-24 12:53:03 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-24 12:53:03 -0500
commit00347575e2754b1aaacd357776560803564d3f35 (patch)
tree03a650732e8469f36d116d24de79ff90f86a5bc4 /contrib/postgres_fdw/postgres_fdw.c
parent360f67d31a5656991122b89c9ca22a860f41512c (diff)
downloadpostgresql-00347575e2754b1aaacd357776560803564d3f35.tar.gz
postgresql-00347575e2754b1aaacd357776560803564d3f35.zip
Yet further adjust degree-based trig functions for more portability.
Buildfarm member cockatiel is still saying that cosd(60) isn't 0.5. What seems likely is that the subexpression (1.0 - cos(x)) isn't being rounded to double width before more arithmetic is done on it, so force that by storing it into a variable.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions