This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cxx-conversion] Make double_int a class with methods and operators. (issue6443093)
- From: Lawrence Crowl <crowl at google dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: reply at codereview dot appspotmail dot com, Diego Novillo <dnovillo at google dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Kenneth Zadeck <zadeck at naturalbridge dot com>
- Date: Tue, 7 Aug 2012 11:42:45 -0700
- Subject: Re: [cxx-conversion] Make double_int a class with methods and operators. (issue6443093)
- References: <20120807003514.1236A2226A9@jade.mtv.corp.google.com> <70550CDF-0D12-4EDC-8FA2-AC013739458A@comcast.net>
On 8/7/12, Mike Stump <mikestump@comcast.net> wrote:
> On Aug 6, 2012, at 5:35 PM, Lawrence Crowl wrote:
>> Convert double_int from a struct with function into a class with
>> operators and methods.
>
> We have a wide_int class that replaces this class. :-(
Really? Where? I don't see neither definition nor use under gcc.
> It would have been better to just convert it.
That depends on how easy it is to migrate. In the process I
learned that double_int isn't actually a double int, but is a
precision-controlled int.
--
Lawrence Crowl