summaryrefslogtreecommitdiff
path: root/src/backend/regex/regc_cvec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-09-04 16:29:08 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-09-04 16:29:08 -0400
commit70354dd560c7cdf4bf32653e9687051bf8abcb0e (patch)
tree5a5dc9e70a43a3ea6bea8fcf5ae8f2c490f8892f /src/backend/regex/regc_cvec.c
parent9aaf7dbff36f76f1836a7327f5d1804061891724 (diff)
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/backend/regex/regc_cvec.c')
0 files changed, 0 insertions, 0 deletions