summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
AgeCommit message (Expand)Author
2021-08-06Adjust the integer overflow tests in the numeric code.Dean Rasheed
2021-08-05Fix division-by-zero error in to_char() with 'EEEE' format.Dean Rasheed
2021-07-31Fix corner-case errors and loss of precision in numeric_power().Dean Rasheed
2021-07-26Allow numeric scale to be negative or greater than precision.Dean Rasheed
2021-07-10Fix numeric_mul() overflow due to too many digits after decimal point.Dean Rasheed
2021-07-05Prevent numeric overflows in parallel numeric aggregates.Dean Rasheed
2021-06-27Error message refactoringPeter Eisentraut
2021-04-06Change return type of EXTRACT to numericPeter Eisentraut
2021-01-05Add an explicit cast to double when using fabs().Dean Rasheed
2021-01-05Fix numeric_power() when the exponent is INT_MIN.Dean Rasheed
2021-01-02Update copyright for 2021Bruce Momjian
2020-10-08Avoid gratuitous inaccuracy in numeric width_bucket().Tom Lane
2020-10-08Fix numeric width_bucket() to allow its first argument to be infinite.Tom Lane
2020-09-09Expose internal function for converting int64 to numericPeter Eisentraut
2020-09-08Use plain memset() in numeric.c, not MemSet and friends.Tom Lane
2020-09-07Frob numeric.c loop so that clang will auto-vectorize it too.Tom Lane
2020-09-06Apply auto-vectorization to the inner loop of numeric multiplication.Tom Lane
2020-07-22Support infinity and -infinity in the numeric data type.Tom Lane
2020-06-30Add +(pg_lsn,numeric) and -(pg_lsn,numeric) operators.Fujii Masao
2020-06-18Disallow factorial of negative numbersPeter Eisentraut
2020-06-13Sync behavior of var_samp and stddev_samp for single NaN inputs.Tom Lane
2020-06-11Fix mishandling of NaN counts in numeric_[avg_]combine.Tom Lane
2020-05-16Run pgindent with new pg_bsd_indent version 2.1.1.Tom Lane
2020-03-28Improve the performance and accuracy of numeric sqrt() and ln().Dean Rasheed
2020-03-01Fix corner-case loss of precision in numeric ln().Dean Rasheed
2020-02-27Move src/backend/utils/hash/hashfn.c to src/commonRobert Haas
2020-01-25Add functions gcd() and lcm() for integer and numeric types.Dean Rasheed
2020-01-06Add functions min_scale(numeric) and trim_scale(numeric).Tom Lane
2020-01-01Update copyrights for 2020Bruce Momjian
2019-08-05Add safeguards in LSN, numeric and float calculation for custom errorsMichael Paquier
2019-05-22Phase 2 pgindent run for v12.Tom Lane
2019-03-16Numeric error suppression in jsonpathAlexander Korotkov
2019-03-11Move hash_any prototype from access/hash.h to utils/hashutils.hAlvaro Herrera
2019-02-09Create the infrastructure for planner support functions.Tom Lane
2019-01-02Update copyright for 2019Bruce Momjian
2018-07-29Provide separate header file for built-in float typesTomas Vondra
2018-07-16doc: Update redirecting linksPeter Eisentraut
2018-06-21Fix partial aggregation for variance(int4) and related aggregates.Tom Lane
2018-06-11Make new error code name match SQL standard more closelyPeter Eisentraut
2018-05-17Make numeric power() handle NaNs according to the modern POSIX spec.Tom Lane
2018-05-02Fix assorted compiler warnings seen in the buildfarm.Tom Lane
2018-05-01Clean up warnings from -Wimplicit-fallthrough.Tom Lane
2018-02-24Add window RANGE support for float4, float8, numeric.Tom Lane
2018-01-16Remove useless use of bit-masking macrosPeter Eisentraut
2018-01-02Update copyright for 2018Bruce Momjian
2017-12-12Consistently use PG_INT(16|32|64)_(MIN|MAX).Andres Freund
2017-12-12Use new overflow aware integer operations.Andres Freund
2017-11-08Change TRUE/FALSE to true/falsePeter Eisentraut
2017-10-11Replace remaining uses of pq_sendint with pq_sendint{8,16,32}.Andres Freund
2017-09-27Fix behavior when converting a float infinity to numeric.Tom Lane