summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
Commit message (Expand)AuthorAgeFilesLines
* Further tweaking of width_bucket() edge cases.Tom Lane2023-03-311-3/+14
* Allow underscores in integer and numeric constants.Dean Rasheed2023-02-041-23/+83
* Make int64_div_fast_to_numeric() more robust.Dean Rasheed2023-02-031-27/+46
* Clarify the choice of rscale in numeric_sqrt().Dean Rasheed2023-02-021-2/+15
* Ensure that numeric.c compiles with other NBASE values.Dean Rasheed2023-02-021-0/+8
* Add non-decimal integer support to type numeric.Dean Rasheed2023-01-231-61/+299
* Optimise numeric division for 3 and 4 base-NBASE digit divisors.Dean Rasheed2023-01-231-0/+167
* Update copyright for 2023Bruce Momjian2023-01-021-1/+1
* Static assertions cleanupPeter Eisentraut2022-12-151-1/+2
* Convert a few datatype input functions to use "soft" error reporting.Tom Lane2022-12-091-35/+63
* Improve the accuracy of numeric power() for integer exponents.Dean Rasheed2022-10-201-43/+67
* Remove unnecessary uses of Abs()Peter Eisentraut2022-10-071-10/+10
* Harmonize more parameter names in bulk.Peter Geoghegan2022-09-201-3/+3
* Pre-beta mechanical code beautification.Tom Lane2022-05-121-108/+107
* Clean up assorted failures under clang's -fsanitize=undefined checks.Tom Lane2022-03-031-0/+8
* Optimise numeric division for one and two base-NBASE digit divisors.Dean Rasheed2022-02-271-43/+180
* Simplify the inner loop of numeric division in div_var().Dean Rasheed2022-02-271-21/+15
* Apply auto-vectorization to the inner loop of div_var_fast().Dean Rasheed2022-02-271-2/+11
* Update copyright for 2022Bruce Momjian2022-01-071-1/+1
* Remove unused includesPeter Eisentraut2021-12-011-1/+0
* Fix corner-case loss of precision in numeric_power().Dean Rasheed2021-10-061-1/+5
* Adjust the integer overflow tests in the numeric code.Dean Rasheed2021-08-061-12/+10
* Fix division-by-zero error in to_char() with 'EEEE' format.Dean Rasheed2021-08-051-29/+37
* Fix corner-case errors and loss of precision in numeric_power().Dean Rasheed2021-07-311-15/+66
* Allow numeric scale to be negative or greater than precision.Dean Rasheed2021-07-261-35/+95
* Fix numeric_mul() overflow due to too many digits after decimal point.Dean Rasheed2021-07-101-1/+9
* Prevent numeric overflows in parallel numeric aggregates.Dean Rasheed2021-07-051-138/+117
* Error message refactoringPeter Eisentraut2021-06-271-8/+8
* Change return type of EXTRACT to numericPeter Eisentraut2021-04-061-0/+61
* Add an explicit cast to double when using fabs().Dean Rasheed2021-01-051-1/+1
* Fix numeric_power() when the exponent is INT_MIN.Dean Rasheed2021-01-051-1/+1
* Update copyright for 2021Bruce Momjian2021-01-021-1/+1
* Avoid gratuitous inaccuracy in numeric width_bucket().Tom Lane2020-10-081-15/+16
* Fix numeric width_bucket() to allow its first argument to be infinite.Tom Lane2020-10-081-2/+3
* Expose internal function for converting int64 to numericPeter Eisentraut2020-09-091-87/+29
* Use plain memset() in numeric.c, not MemSet and friends.Tom Lane2020-09-081-1/+1
* Frob numeric.c loop so that clang will auto-vectorize it too.Tom Lane2020-09-071-6/+8
* Apply auto-vectorization to the inner loop of numeric multiplication.Tom Lane2020-09-061-3/+12
* Support infinity and -infinity in the numeric data type.Tom Lane2020-07-221-305/+1169
* Add +(pg_lsn,numeric) and -(pg_lsn,numeric) operators.Fujii Masao2020-06-301-0/+98
* Disallow factorial of negative numbersPeter Eisentraut2020-06-181-0/+4
* Sync behavior of var_samp and stddev_samp for single NaN inputs.Tom Lane2020-06-131-18/+17
* Fix mishandling of NaN counts in numeric_[avg_]combine.Tom Lane2020-06-111-6/+6
* Run pgindent with new pg_bsd_indent version 2.1.1.Tom Lane2020-05-161-1/+1
* Improve the performance and accuracy of numeric sqrt() and ln().Dean Rasheed2020-03-281-49/+536
* Fix corner-case loss of precision in numeric ln().Dean Rasheed2020-03-011-1/+9
* Move src/backend/utils/hash/hashfn.c to src/commonRobert Haas2020-02-271-1/+1
* Add functions gcd() and lcm() for integer and numeric types.Dean Rasheed2020-01-251-0/+171
* Add functions min_scale(numeric) and trim_scale(numeric).Tom Lane2020-01-061-0/+91
* Update copyrights for 2020Bruce Momjian2020-01-011-1/+1