Re: Proposal: Trigonometric functions in degrees

Поиск
Список
Период
Сортировка
Искать
От
Dean Rasheed
Тема
Re: Proposal: Trigonometric functions in degrees
Дата
Msg-id
CAEZATCVkJA+fcFW7WPv6gibmiGDcrwKy0iBEHDw-Sj7Ddr7EhA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Peter Eisentraut <peter_e@gmx.net>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Noah Misch <noah@leadboat.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Noah Misch <noah@leadboat.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Piotr Stefaniak <postgres@piotr-stefaniak.me>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Piotr Stefaniak <postgres@piotr-stefaniak.me>
Re: Proposal: Trigonometric functions in degrees Peter Eisentraut <peter_e@gmx.net>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Peter Eisentraut <peter_e@gmx.net>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Peter Eisentraut <peter_e@gmx.net>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Bear Giles <bgiles@coyotesong.com>
Re: Proposal: Trigonometric functions in degrees Emre Hasegeli <emre@hasegeli.com>
Re: Proposal: Trigonometric functions in degrees David Fetter <david@fetter.org>
Re: Proposal: Trigonometric functions in degrees Michael Paquier <michael.paquier@gmail.com>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal: Trigonometric functions in degrees Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Proposal: Trigonometric functions in degrees Simon Riggs <simon@2ndQuadrant.com>
Re: Proposal: Trigonometric functions in degrees Robert Haas <robertmhaas@gmail.com>
fortnight interval support Nathan Wagner <nw+pg@hydaspes.if.org>
Re: fortnight interval support David Fetter <david@fetter.org>
Re: fortnight interval support Nathan Wagner <nw+pg@hydaspes.if.org>
Re: fortnight interval support Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: fortnight interval support Nathan Wagner <nw+pg@hydaspes.if.org>
Re: fortnight interval support David Fetter <david@fetter.org>
Re: fortnight interval support Tom Lane <tgl@sss.pgh.pa.us>
Re: fortnight interval support David Fetter <david@fetter.org>
Re: fortnight interval support Merlin Moncure <mmoncure@gmail.com>
Re: fortnight interval support Andrew Dunstan <andrew@dunslane.net>
Re: fortnight interval support Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: fortnight interval support Michael Paquier <michael.paquier@gmail.com>
Re: fortnight interval support Alvaro Herrera <alvherre@2ndquadrant.com>
Re: fortnight interval support Robert Haas <robertmhaas@gmail.com>
Re: fortnight interval support Michael Paquier <michael.paquier@gmail.com>
Re: fortnight interval support Robert Haas <robertmhaas@gmail.com>
Re: fortnight interval support Merlin Moncure <mmoncure@gmail.com>
Re: fortnight interval support Nathan Wagner <nw+pg@hydaspes.if.org>
Re: Proposal: Trigonometric functions in degrees Simon Riggs <simon@2ndQuadrant.com>
Re: Proposal: Trigonometric functions in degrees Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Proposal: Trigonometric functions in degrees Simon Riggs <simon@2ndQuadrant.com>
On 19 January 2016 at 06:32, Michael Paquier  wrote:
> The first patch looks fine to me, a nitpick:
> +       /* Be sure to throw an error if the input is infinite --- see dcos */
> s/dcos/docs
>

No, I meant dcos the function there. I would normally write that as
dcos() to indicate that it is a function, but I thought the convention
here was to omit the parentheses after function names. Looking again,
I see several examples of function names with parentheses in comments,
so they could be added here, or the comment could be written a
different way. I'm happy to leave that to the committer's discretion.


> For patch 2, another nitpick :)
> +       return ( sin(x * (M_PI / 180.0)) / sin(30.0 * (M_PI / 180.0)) ) / 2.0;
> parenthesis format looks incorrect, too many spaces at the border.
>
> Except those things the second patch looks good to me as well. Let's
> have a committer look at it.

OK. Thanks for looking at this.

Regards,
Dean


В списке pgsql-hackers по дате отправления
От: Etsuro Fujita
Дата:
От: Amit Kapila
Дата:
FAQ