summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/float.c
AgeCommit message (Expand)Author
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
2004-10-04Detect overflow in integer arithmetic operators (integer, smallint, andTom Lane
2004-09-02Cope with recent HPUX versions providing isfinite() instead of finite().Tom Lane
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-08-11Work around broken strtod() that's present in many Solaris releases.Tom Lane
2004-08-04Label CVS tip as 8.0devel instead of 7.5devel. Adjust various commentsTom Lane
2004-05-16Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATENeil Conway
2004-05-07Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane
2004-04-01Fix some portability issues with new float input code (didn't work onTom Lane
2004-04-01Add missing casts to unsigned char in recently-added isspace() calls.Tom Lane
2004-03-15Localize our dependencies on the way to create NAN or INFINITY.Tom Lane