Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88490 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85202 invoked from network); 25 Sep 2015 00:11:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2015 00:11:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.52 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.218.52 mail-oi0-f52.google.com Received: from [209.85.218.52] ([209.85.218.52:35143] helo=mail-oi0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/B3-58589-61194065 for ; Thu, 24 Sep 2015 20:11:03 -0400 Received: by oiww128 with SMTP id w128so50485924oiw.2 for ; Thu, 24 Sep 2015 17:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=V4k7pnjP2+o7GA7xa2hlBsR2UDIYc997FqaUc8e28V8=; b=PjUJIpCHGk8NY1G57HuL3IoKVAlLnjyRshVFAWPiZa1aVk71Ys+9Uqn8MjP9iSzSqL NEVhitxsTKVvRkYaV9gg42RFdoc8XMpFLoS8D64N50eIqGyBcg0bPx9/9tlhosE7Ov1Q Snap2IWEU/DqKrN/M0MoTlEXhO+tj177QzWqFvQYCb9PE3wLRZ/A9Bts43qXQeSUDqTZ DfdRNcUgnLorqz6Fjt/zTogydFs5c8eiV/ChWVdB39o8KD/tMw4bWtLLKyQuA4h5IM1T Md2547OpTgrnON6/ezx3ES2xz3U2bgMYizvK1HzMzkJcIinIbViJWFo097IKCy/1yBrp 3TUA== X-Received: by 10.202.0.206 with SMTP id 197mr1454689oia.76.1443139860233; Thu, 24 Sep 2015 17:11:00 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.226.15 with HTTP; Thu, 24 Sep 2015 17:10:20 -0700 (PDT) In-Reply-To: References: <023701d0f4a4$a0da4f60$e28eee20$@belski.net> Date: Fri, 25 Sep 2015 09:10:20 +0900 X-Google-Sender-Auth: Ptbd50O37DPijMhU6Nw7KnbAg3g Message-ID: To: Anatol Belski Cc: Kalle Sommer Nielsen , Ferenc Kovacs , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC] [DISCUSSION] More precise float value From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi all, On Fri, Sep 25, 2015 at 7:49 AM, Yasuo Ohgaki wrote: > No problem. I'll update so that 0 mode is for 7.1. > JSON's is better to use larger precision. So this change is targeted > to 5.6 and 7.0. > > Let me know if you have comments on this. The RFC is updated. https://wiki.php.net/rfc/precise_float_value Patches for 7.1/7.0/5.6 will be updated soon. 7.0/5.6's change will be one liner. i.e. Simply change to use PG(serialize_precision) instead of EG(precision). Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net