diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-09-04 16:29:08 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-09-04 16:29:08 -0400 |
commit | fd295d0c687eb8f2e9ec6d9bb1cedf0cc45e1dd8 (patch) | |
tree | 4ed52ef7ca9f5812cd8fbe9c42e2d6a6bb358044 /src/tutorial/funcs.c | |
parent | e456167a8af428dffb1621ae5c9e29147cb005f2 (diff) | |
download | postgresql-fd295d0c687eb8f2e9ec6d9bb1cedf0cc45e1dd8.tar.gz postgresql-fd295d0c687eb8f2e9ec6d9bb1cedf0cc45e1dd8.zip |
Further portability tweaks for float4/float8 hash functions.
Attempting to make hashfloat4() look as much as possible like
hashfloat8(), I'd figured I could replace NaNs with get_float4_nan()
before widening to float8. However, results from protosciurus
and topminnow show that on some platforms that produces a different
bit-pattern from get_float8_nan(), breaking the intent of ce773f230.
Rearrange so that we use the result of get_float8_nan() for all NaN
cases. As before, back-patch.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions