summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
AgeCommit message (Expand)Author
2023-03-31Further tweaking of width_bucket() edge cases.Tom Lane
2023-02-04Allow underscores in integer and numeric constants.Dean Rasheed
2023-02-03Make int64_div_fast_to_numeric() more robust.Dean Rasheed
2023-02-02Clarify the choice of rscale in numeric_sqrt().Dean Rasheed
2023-02-02Ensure that numeric.c compiles with other NBASE values.Dean Rasheed
2023-01-23Add non-decimal integer support to type numeric.Dean Rasheed
2023-01-23Optimise numeric division for 3 and 4 base-NBASE digit divisors.Dean Rasheed
2023-01-02Update copyright for 2023Bruce Momjian
2022-12-15Static assertions cleanupPeter Eisentraut
2022-12-09Convert a few datatype input functions to use "soft" error reporting.Tom Lane
2022-10-20Improve the accuracy of numeric power() for integer exponents.Dean Rasheed
2022-10-07Remove unnecessary uses of Abs()Peter Eisentraut
2022-09-20Harmonize more parameter names in bulk.Peter Geoghegan
2022-05-12Pre-beta mechanical code beautification.Tom Lane
2022-03-03Clean up assorted failures under clang's -fsanitize=undefined checks.Tom Lane
2022-02-27Optimise numeric division for one and two base-NBASE digit divisors.Dean Rasheed
2022-02-27Simplify the inner loop of numeric division in div_var().Dean Rasheed
2022-02-27Apply auto-vectorization to the inner loop of div_var_fast().Dean Rasheed
2022-01-08Update copyright for 2022Bruce Momjian
2021-12-01Remove unused includesPeter Eisentraut
2021-10-06Fix corner-case loss of precision in numeric_power().Dean Rasheed
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-07Apply 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