Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70942 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77825 invoked from network); 31 Dec 2013 01:53:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2013 01:53:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:33105] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/58-33070-38322C25 for ; Mon, 30 Dec 2013 20:53:08 -0500 Received: by mail-pa0-f43.google.com with SMTP id bj1so12227395pad.30 for ; Mon, 30 Dec 2013 17:53:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=oD/Z5ia6gb6bF4hBPRUNilRoCszFjhgaOQ+bih+x9KM=; b=NI1l5bd7ajak1b9IHF6lHanNh9rJC47E67uE8BA96ijdy7NZ65EXCKiKAZ5vIU/ozs uWgBsuwNMfDmseuUMKVP0kzBhZk90OGqEocevrK11K3a7uykRd5HKGjgh8n+cdXcGMxu J0+JUBavaY6oopxxjJ3335BadeDjCU/tdIE/cDjxOjajzQo71BQud4DaHle7XETqC17e wAVHZEz8tQ4NOl5b2DfaovMDNjvZPb+7QaKbqkTDXS0lCBYpFEr7Xn78a1UQIqHB2Ewj Eyd2Y83qZiKpQP7FEirxnyzHTU+i+Ba425cobL2pucyYyDyP+bqrLFTOSIkzVak5MIvf AgFg== X-Gm-Message-State: ALoCoQlcnHwb8h87Dpft4T1d2hEr9psbDFueDA/FoFQjb5bm5JS3LCcEKnEqJ7kC7hJxOLHTryxG X-Received: by 10.69.18.234 with SMTP id gp10mr71300928pbd.105.1388454784877; Mon, 30 Dec 2013 17:53:04 -0800 (PST) Received: from [10.106.126.67] (mobile-166-137-214-062.mycingular.net. [166.137.214.62]) by mx.google.com with ESMTPSA id ae5sm110853962pac.18.2013.12.30.17.53.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 17:53:04 -0800 (PST) References: <005e01cf05bb$47c59cb0$d750d610$@tutteli.ch> Mime-Version: 1.0 (1.0) In-Reply-To: <005e01cf05bb$47c59cb0$d750d610$@tutteli.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: Cc: Yasuo Ohgaki , "" X-Mailer: iPhone Mail (10B329) Date: Mon, 30 Dec 2013 17:53:00 -0800 To: Robert Stoll Subject: Re: [PHP-DEV] [RFC][DRAFT] GMP number as PHP number From: php@golemon.com (Sara Golemon) On float support in GMP extension: Big +1, and I'd be happy to implement it.= On promotion/demotion between gmp/int and gmp/float: I suspect we can keep t= hese as a single user-type, regardless of libgmp's internal representation o= f them, so it's a rather moot point. On overloading empty() to deal with objects that have a notion of emptiness:= I'd like you to split that out into a separate rfc and a separate discussio= n. It's prthogonal to the floating point issue. ((But I would be tentativel= y for it)) On auto-parsing gmp objects into base scalars (such as for math function arg= uments): Again, this feels like it should be a separate rfc, particularly s= ince it comes with a number of open issues around how we deal with overflows= , loss of precision, and whether or now we attempt to magically rebox the re= sult on return from the function (possible, but massively problematic). -Sara On Dec 30, 2013, at 16:00, "Robert Stoll" wrote: >> -----Original Message----- >> From: yohgaki@gmail.com [mailto:yohgaki@gmail.com] On Behalf Of Yasuo Ohg= aki >> Sent: Tuesday, December 31, 2013 12:44 AM >> To: internals@lists.php.net >> Subject: [PHP-DEV] [RFC][DRAFT] GMP number as PHP number >>=20 >> Hi all, >>=20 >> There has been GMP number discussion and made draft RFC for it. >> Please comment so that I can add more to the RFC. >>=20 >> Thank you. >>=20 >> -- >> Yasuo Ohgaki >> yohgaki@ohgaki.net >=20 > Here the link to yasuo's RFC > https://wiki.php.net/rfc/gmp_number >=20 >=20 >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20