summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
AgeCommit message (Expand)Author
2009-03-04Put back our old workaround for machines that declare cbrt() in math.h butTom Lane
2009-02-18Remove the special cases to prevent minus-zero results in float4 and float8Tom Lane
2009-01-01Update copyright for 2009.Bruce Momjian
2008-12-28Support window functions a la SQL:2008.Tom Lane
2008-05-09Adjust power() error messages to be more descriptive.Bruce Momjian
2008-05-09Update C comments to mention SQL:2003 handling of power return values.Bruce Momjian
2008-04-21Allow float8, int8, and related datatypes to be passed by value on machinesTom Lane
2008-03-10Document and enforce that the usable range of setseed() arguments isTom Lane
2008-01-01Update copyrights in source tree to 2008.Bruce Momjian
2007-11-15pgindent run for 8.3.Bruce Momjian
2007-09-19Prevent corr() from returning the wrong results for negative correlationNeil Conway
2007-06-05Downgrade implicit casts to text to be assignment-only, except for the onesTom Lane
2007-02-27Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).Tom Lane
2007-01-20Make setseed() return void, rather than an int4 without any use. PerNeil Conway
2007-01-16Implement width_bucket() for the float8 data type.Neil Conway
2007-01-06Apply fix so pow() and exp() ERANGE is used only if result is not 0.Bruce Momjian
2007-01-06Check for ERANGE in exp() as well.Bruce Momjian
2007-01-06Improve dpow() check for ERANGE overflow for HPPA.Bruce Momjian
2007-01-06Put back ERANGE test in dpow(). There are platforms that need this,Tom Lane
2007-01-05Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian
2007-01-05Update float dpow() comment about whick platforms had issues with Nan.Bruce Momjian
2007-01-04Simplify assignment of Inf for pow Nan (don't worry about the sign).Bruce Momjian
2007-01-03Update pow() tests to check for both errno==EDOM _and_ result==Nan, andBruce Momjian
2007-01-03Fix erroneous error tests in pow/exp.Tom Lane
2007-01-03Attempt to return proper overflow/underflow messages for platforms thatBruce Momjian
2007-01-03For float4/8, remove errno checks for pow() and exp() because only someBruce Momjian
2007-01-02Some platforms set errno on pow(), exp() overflow, some do not, so ifBruce Momjian
2007-01-02finite() no longer used; remove finite() platform-specificBruce Momjian
2007-01-02Add #include <float.h> for platforms that still need it.Bruce Momjian
2007-01-02Fix float4/8 to handle Infinity and Nan consistently, e.g. Infinity is aBruce Momjian
2006-12-23Remove unnecessary parentheses in if() statements.Bruce Momjian
2006-10-05Work around buggy strtod on (some versions of?) IRIX. Combination ofTom Lane
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-07-28SQL2003-standard statistical aggregates, by Sergey Koposov. I've added onlyTom Lane
2006-07-14Remove 576 references of include files that were not needed.Bruce Momjian
2006-07-14Fix a passel of recently-committed violations of the rule 'thou shaltTom Lane
2006-06-07Prepare code to be built by MSVC:Bruce Momjian
2006-04-24Improve our private implementation of cbrt() to give results of theTom Lane
2006-03-11Remove a few places that attempted to define INT_MAX, SCHAR_MAX, andNeil Conway
2006-03-10Implement 4 new aggregate functions from SQL2003. Specifically: var_pop(),Neil Conway
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-03Update random() usage so ranges are inclusive/exclusive as required.Bruce Momjian
2005-12-02Remove comment on errno=0 lines, but add mention to port/strtol.c function.Bruce Momjian
2005-12-01Comment "errno = 0" in a more generic way.Bruce Momjian
2005-12-01Add comments about why errno is set to zero.Bruce Momjian
2005-11-17Make SQL arrays support null elements. This commit fixes the core arrayTom Lane
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-04-06Apply the "nodeAgg" optimization to more of the builtin transitionNeil Conway
2005-02-11Adjust input routines for float4, float8 and oid to reject the empty stringNeil Conway
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon