aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-07-20 19:44:41 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-07-20 19:44:45 -0400
commit4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a (patch)
treec2045d6b04b1ac5b0190cbd46f280029e8ca78ad /contrib/jsonb_plperl/jsonb_plperl.c
parent6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff (diff)
downloadpostgresql-4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a.tar.gz
postgresql-4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a.zip
Make floating-point "NaN / 0" return NaN instead of raising an error.
This is more consistent with the IEEE 754 spec and our treatment of NaNs elsewhere; in particular, the case has always acted that way in "numeric" arithmetic. Noted by Dean Rasheed. Discussion: https://postgr.es/m/3421746.1594927785@sss.pgh.pa.us
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions