Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37767 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16630 invoked from network); 21 May 2008 07:29:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2008 07:29:36 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:58746] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/96-07862-D5FC3384 for ; Wed, 21 May 2008 03:29:34 -0400 Received: from [192.168.3.91] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTP id B91C96401E8; Wed, 21 May 2008 11:29:29 +0400 (MSD) Message-ID: <4833CF4C.5070208@daylessday.org> Date: Wed, 21 May 2008 11:29:16 +0400 User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Kalle Sommer Nielsen CC: PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Add deg2grad() and grad2deg() in PHP5.3 From: tony@daylessday.org (Antony Dovgal) On 20.05.2008 22:22, Kalle Sommer Nielsen wrote: > Greetings internals > > I've made two functions that allows convertion between degress and gradians, > below is a pastebin > of the functions as that would look in math.c: > http://www.phpfi.com/318450 Functions that can be implemented in one line of PHP code are usually not welcome. -- Wbr, Antony Dovgal