summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
AgeCommit message (Expand)Author
6 daysAllow width_bucket()'s "operand" input to be NaN.Tom Lane
2025-06-21Doc: improve documentation about width_bucket().Tom Lane
2025-01-01Update copyright for 2025Bruce Momjian
2024-12-02Add a planner support function for numeric generate_series().Dean Rasheed
2024-10-04Speed up numeric division by always using the "fast" algorithm.Dean Rasheed
2024-08-26Fix compiler warning in mul_var_short().Dean Rasheed
2024-08-15Remove dependence on -fwrapv semantics in a few places.Nathan Bossart
2024-08-15Optimise numeric multiplication using base-NBASE^2 arithmetic.Dean Rasheed
2024-08-15Extend mul_var_short() to 5 and 6-digit inputs.Dean Rasheed
2024-08-14Remove TRACE_SORT macroPeter Eisentraut
2024-07-10Improve the numeric width_bucket() computation.Dean Rasheed
2024-07-09Optimise numeric multiplication for short inputs.Dean Rasheed
2024-07-08Fix scale clamping in numeric round() and trunc().Dean Rasheed
2024-03-27Add functions to generate random numbers in a specified range.Dean Rasheed
2024-03-04Remove unused #include's from backend .c filesPeter Eisentraut
2024-01-04Update copyright for 2024Bruce Momjian
2024-01-03Add numeric_int8_opt_error() to optionally suppress errorsPeter Eisentraut
2023-10-26Optimize various aggregate deserialization functions, take 2David Rowley
2023-10-10Revert "Optimize various aggregate deserialization functions"David Rowley
2023-10-09Optimize various aggregate deserialization functionsDavid Rowley
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