This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][libm] Remove unnecessary variable mptwoim1
- From: Andreas Jaeger <aj at suse dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 28 Dec 2012 13:24:42 +0100
- Subject: Re: [PATCH][libm] Remove unnecessary variable mptwoim1
- References: <20121227155603.GH10003@spoyarek.pnq.redhat.com>
On 12/27/2012 04:56 PM, Siddhesh Poyarekar wrote:
Hi,
mptwoim1 stores double format of 2^i at offset i, which is
unnecessary. One could simply calculate it as 1<<i and cast it to
double safely since the maximum offset used is 7. OK to commit?
Yes,
thanks,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126