Improve coverage of utils/float.h
Michael Paquier <michael@paquier.xyz>
Improve coverage of utils/float.h check_float4_val() checks after underflow and overflow of values converted from float8 to float4, but there has never been any regression tests for that. This brings the coverage of float.h to 100%. Author: Movead Li Discussion: https://postgr.es/m/20190822174636998766188@highgo.ca
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/float4-misrounded-input.out | modified | +8 −0 |
| src/test/regress/expected/float4.out | modified | +8 −0 |
| src/test/regress/sql/float4.sql | modified | +5 −0 |
Discussion
- Email to hackers for test coverage 15 messages · 2019-08-22 → 2019-09-04