Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I have developed the attached patch which fixes 0 ^ 123.3. > > Did you actually read the wikipedia entry you cited?
Yes: The evaluation of 0^0 presents a problem, because different mathematical reasoning leads to different results. The best choice for its value depends on the context. According to Benson (1999), "The choice whether to define 00 is based on convenience, not on correctness." There are two principal treatments in practice, one from discrete mathematics and the other from analysis. ... The computer programming languages that evaluate 00 to be 1 include J, Java, Python, Ruby, Haskell, ML, Scheme, MATLAB, bc, R programming language, and Microsoft Windows' Calculator. -- Bruce Momjian <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. + -- Sent via pgsql-patches mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches