Re: One more oddity with gcc and vax floats...

Johnny Billquist <[email protected]> Wed, 10 Jun 2026 18:33:15 +0200
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On 6/10/26 18:27, Mouse wrote:
>> DEC float does have NaN, but it doesn't have Inf.
> 
> It doesn't have silent NaNs, and it's debatable whether reserved
> operands are close enough to stand in for signaling NaNs.

Those, and Inf are the question. And are we expected to check before 
each FP operation if any of those numbers are an argument to the 
instruction and special case that? In which we are talking about adding 
multiple checks before basically any instruction that touches FP.
Or are we going to stuff in arguments that result in reserved operands 
whenever we see an Inf or NaN, and trap and special case it then. Do we 
have enough reserved operands to represent these different values?

> VAX float also doesn't have subnormals.

Also true, but I think we could possibly ignore that one. Just as I 
think the rounding differences can be ignored, except for test programs 
that explicitly check for those.

   Johnny