Commit Graph

18 Commits (ec0294fb2c8287fd673c57701cdcf6c6396b2f60)

Author SHA1 Message Date
Dean Rasheed 13661ddd7e Add functions gcd() and lcm() for integer and numeric types. 6 years ago
Tom Lane 5e7c3d91bf Add documentation and regression tests concerning rounding of numerics. 11 years ago
Tom Lane 06bf0dd6e3 Upgrade src/port/rint.c to be POSIX-compliant. 11 years ago
Tom Lane 1f7cb5c309 Improve handling of INT_MIN / -1 and related cases. 13 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Robert Haas 815810ed31 Attempt to fix breakage caused by signed integer conversion patch. 15 years ago
Robert Haas 4fc115b2e9 Speed up conversion of signed integers to C strings. 15 years ago
Peter Eisentraut 6151e89e8b Remove some unportable tests 18 years ago
Peter Eisentraut 34411cfac5 Additional test coverage for int8 type (int8.c) 18 years ago
Tom Lane 8cb4e4f6bd Add regression test to see if the min/max values of int8 convert correctly. 20 years ago
Bruce Momjian bb3cce4ec9 Add E'' syntax so eventually normal strings can treat backslashes 21 years ago
Tom Lane 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and 22 years ago
Neil Conway e2ded829f6 Revise int2/int4/int8/float4/float8 input routines to allow for 22 years ago
Tom Lane b78d1bed07 Change float8-to-int8 conversion to round to nearest, rather than 25 years ago
Bruce Momjian 28fb1c196b Update create_rule manual page. 26 years ago
Bruce Momjian eae5184d11 Hi, 26 years ago
Thomas G. Lockhart 61ef6a1a3f Clean up syntax to use SQL92-ish type coersion 26 years ago
Thomas G. Lockhart e2ba4ee2a8 Include tests for new 8-byte integer. 28 years ago