Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6668 invoked from network); 19 Apr 2017 08:18:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2017 08:18:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.123.236 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.123.236 box.beccati.com Received: from [176.9.123.236] ([176.9.123.236:41567] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/20-61625-04D17F85 for ; Wed, 19 Apr 2017 04:18:11 -0400 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id D9AC620022C; Wed, 19 Apr 2017 10:18:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1492589885; bh=5SqOR+FcsDu6f9XoKLptkqRDyCpJEDMbvM3qqn19Tt8=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=QP7Q2/r+Nca27fzUq32lOWhsvecXuXcT7g5fL+9U3P0H6433pCuHFneL7nPwZE/BK kWFhqJhYWoCajFqIh+/AyCzCvcBrqq6E1fevBK9dzpWon9VwEou3/6Os6IsdmIC9sk OT0aOx/LiTTMkNDeIS0p/lPct8HwpN+D+yKMZKvbWnimCspeHvOrwKVJ8cjZaljlSZ LbfhGIXhy72sGe7RdiVWiEuslZ+atX6eb2zGdES7NXXJcp5w5dkZXhV4fee/g4A7Bp 0XTA8V2TLk5bnt2dIUXUUi3b8K3pV5SiSIw7Odm2RtfX4ihSv+zcycbJ86p2D0Yx0m HN8D+Eagspq8g== To: Adam Baratz References: <5e3e3e9b-f5b9-a19e-c4cb-6af0f5985d94@beccati.com> <8923084a-a357-91e9-44b5-52a4af0a5df1@beccati.com> <86e4681f-9030-80fc-896b-56255c4b84c7@beccati.com> Cc: "internals@lists.php.net" , Andrea Faulds Message-ID: Date: Wed, 19 Apr 2017 10:18:01 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] PDO Float Type From: php@beccati.com (Matteo Beccati) Hi Adam, On 18/04/2017 18:58, Adam Baratz wrote: > I looked more closely at each of the APIs. My conclusion was that a single > type will be appropriate for floats, doubles, and fixed-precision. I > updated the RFC with details. If it's accepted, it could be worth including > some of this content in the documentation so people better understand the > impact of each PDO param type. > > I'll create a separate thread to announce the vote. Thanks for allowing everyone the time to look at the RFC changes before opening the vote ;) Anyway, your suggestion that a single floating point type is appropriate for both fixed-precision and floating points seems ill-advised, as is probably the API you are basing your decisions off of. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/