Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200118050412.GC2020@voyager>
Date: Sat, 18 Jan 2020 06:04:12 +0100
From: Markus Wichmann <nullplan@....net>
To: musl@...ts.openwall.com
Subject: Re: Considering x86-64 fenv.s to C

On Sat, Jan 18, 2020 at 02:15:35AM +0100, Szabolcs Nagy wrote:
> actually it's quite annoying to deal with N bit long double without
> N bit int, because sometimes you want to fiddle with the bits using
> int operations and if you don't have N bit int type you have to
> deal with endianness (you can always copy the long double into an
> array of bytes, but the layout of the bytes is not portable, same
> for union with multiple fields: you need variants for different
> endianness)

Well, yeah, but there is never going to be an 80 bit integer type. As
for endianess, I feel your pain. I just got done porting a really old
piece of software from PowerPC to ARM. Sooo many endianess problems...

Ciao,
Markus

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.