summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.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-03-26Add support for gamma() and lgamma() functions.Dean Rasheed
2025-01-01Update copyright for 2025Bruce Momjian
2024-10-27Remove unused #include's from backend .c filesPeter Eisentraut
2024-10-14Use construct_array_builtin for FLOAT8OID instead of construct_array.Masahiko Sawada
2024-07-25Fix -Wmissing-variable-declarations warnings for float.c special casePeter Eisentraut
2024-03-27Add functions to generate random numbers in a specified range.Dean Rasheed
2024-01-04Update copyright for 2024Bruce Momjian
2023-05-19Pre-beta mechanical code beautification.Tom Lane
2023-03-31Further tweaking of width_bucket() edge cases.Tom Lane
2023-03-30Avoid overflow in width_bucket_float8().Tom Lane
2023-03-14Add support for the error functions erf() and erfc().Dean Rasheed
2023-01-09Invent random_normal() to provide normally-distributed random numbers.Tom Lane
2023-01-02Update copyright for 2023Bruce Momjian
2022-12-21Introduce float4in_internalAndrew Dunstan
2022-12-09Convert a few datatype input functions to use "soft" error reporting.Tom Lane
2022-10-08Use fabsf() instead of Abs() or fabs() where appropriatePeter Eisentraut
2022-07-14Remove support for Visual Studio 2013Michael Paquier
2022-01-08Update copyright for 2022Bruce Momjian
2021-11-29Replace random(), pg_erand48(), etc with a better PRNG API and algorithm.Tom Lane
2021-01-02Update copyright for 2021Bruce Momjian
2020-08-15Remove obsolete HAVE_BUGGY_SOLARIS_STRTODPeter Eisentraut
2020-07-21Fix some corner cases for window ranges with infinite offsets.Tom Lane
2020-06-16In dpow(), remove redundant check for whether y is an integer.Tom Lane
2020-06-15Fix power() for large inputs yet more.Tom Lane
2020-06-15Fix power() for infinity inputs some more.Tom Lane
2020-06-14Fix behavior of exp() and power() for infinity inputs.Tom Lane
2020-06-13Fix behavior of float aggregates for single Inf or NaN inputs.Tom Lane
2020-03-04Introduce macros for typalign and typstorage constants.Tom Lane
2020-02-21Assume that we have cbrt().Tom Lane
2020-02-13Avoid a performance regression in float overflow/underflow detection.Tom Lane
2020-01-01Update copyrights for 2020Bruce Momjian
2019-11-07Fix integer-overflow edge case detection in interval_mul and pgbench.Tom Lane
2019-08-05Add safeguards in LSN, numeric and float calculation for custom errorsMichael Paquier
2019-05-26Fix typos.Amit Kapila
2019-03-16Numeric error suppression in jsonpathAlexander Korotkov
2019-03-12Add support for hyperbolic functions, as well as log10().Tom Lane
2019-02-13Change floating-point output format for improved performance.Andrew Gierth
2019-02-13Use strtof() and not strtod() for float4 input.Andrew Gierth
2019-01-02Update copyright for 2019Bruce Momjian
2019-01-01Remove configure switch --disable-strong-randomMichael Paquier
2018-12-29Use a separate random seed for SQL random()/setseed() functions.Tom Lane
2018-11-24Fix float-to-integer coercions to handle edge cases correctly.Tom Lane
2018-10-08Improve snprintf.c's handling of NaN, Infinity, and minus zero.Tom Lane
2018-10-06Improve the accuracy of floating point statistical aggregates.Dean Rasheed
2018-07-29Provide separate header file for built-in float typesTomas Vondra
2018-06-11Make new error code name match SQL standard more closelyPeter Eisentraut
2018-05-05Put in_range_float4_float8's work in-line.Tom Lane
2018-04-29Avoid wrong results for power() with NaN input on more platforms.Tom Lane