diff options
author | Tom Lane | 2020-07-20 23:44:41 +0000 |
---|---|---|
committer | Tom Lane | 2020-07-20 23:44:45 +0000 |
commit | 4fb6aeb4f6e807c8ce3e140d2d2281f50eb6fb1a (patch) | |
tree | c2045d6b04b1ac5b0190cbd46f280029e8ca78ad /contrib/jsonb_plpython | |
parent | 6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff (diff) |
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/[email protected]
Diffstat (limited to 'contrib/jsonb_plpython')
0 files changed, 0 insertions, 0 deletions