This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC floating point little-endian [2 of 15]
- From: Alan Modra <amodra at gmail dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 10 Jul 2013 17:05:15 +0930
- Subject: Re: PowerPC floating point little-endian [2 of 15]
- References: <20130710012435 dot GN2602 at bubble dot grove dot modra dot org> <20130710012520 dot GO2602 at bubble dot grove dot modra dot org> <51DCF60F dot 5060607 at suse dot com>
On Wed, Jul 10, 2013 at 07:50:07AM +0200, Andreas Jaeger wrote:
> On 07/10/2013 03:25 AM, Alan Modra wrote:
> > In the following I make use of the fact that casting a long double to
> > double retrieves the high double, rather than calling ldbl_unpack
> > everywhere.
>
> I don't like this specific change, it's not obvious for the reader. I
> suggest to introduce a documented macro that does the casting and use
> that one.
OK. I considered re-writing the patch using an inline function for
the same reason before I posted.
--
Alan Modra
Australia Development Lab, IBM