Skip site navigation (1) Skip section navigation (2)

Re: phypot - Pygmy Hippotause ?

From: Paul Matthews <plm(at)netspace(dot)net(dot)au>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: phypot - Pygmy Hippotause ?
Date: 2009-08-29 02:52:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Kevin Grittner wrote:
> The first test seems unnecessary if you have the second.
> x >= 0, so x can't be zero unless y is, too.
> Returning x on y == 0.0 will return 0.0 whenever x == 0.0.
> -Kevin
Wish granted. :-)

Fools ignore complexity. Pragmatists suffer it.
Some can avoid it. Geniuses remove it.

Attachment: patchfile_phypot
Description: text/plain (5.7 KB)

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2009-08-29 03:26:48
Subject: Re: pgsql: Derived files that are shipped in the distribution used to be
Previous:From: Ron MayerDate: 2009-08-29 00:03:00
Subject: Re: Add YAML option to explain

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group