Re: NA and NaN representation on mips64el

Rafael Laboissière <[email protected]> Tue, 13 May 2025 09:24:53 +0200
Newsgroups gmane.linux.debian.ports.mips
Organization Debian GNU/Linux
Message-ID <[email protected]>
* YunQiang Su <[email protected]> [2025-05-13 08:49]:

> Rafael Laboissière <[email protected]> 于2025年5月13日周二 00:30写道:
>>
>> […]
>>
>> It seems to be a problem related to how floating point NA and NaN are 
>> represented.
>>
>> Strangely, I cannot reproduce this problem. I built the package manually 
>> on a mips64el porterbox using schroot and everything worked fine.
>
> I see. The problem is that the machine (mipsel-osuosl-03.debian.org) is 
> Loongson 3A4000. The problem is that MIPS swap the encodings of sNaN 
> and qNaN since MIPSr5.
>
> I guess that octave uses sNaN as NA? We have no good solution for it. 
> We have meet some other packages with this case. Let's just ask the 
> help from DSA to pin this package on non-3A4000 machines.

Could you please tell me how to make do such a request?

Best,

Rafael Laboissière