[Bug 294692] lib/msun: Replaced manual checks with isnan()

[email protected] Wed, 22 Apr 2026 17:36:38 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294692

--- Comment #8 from Steve Kargl <[email protected]> ---

Compare aarch64/_fpmath.h and amd64/_fpmath.h.  In the former you
have

#define LDBL_NBIT       0
#define LDBL_IMPLICIT_NBIT
#define mask_nbit_l(u)  ((void)0)

while the latter has

#define LDBL_NBIT       0x80000000
#define mask_nbit_l(u)  ((u).bits.manh &=3D ~LDBL_NBIT)

The complication is do to masking the hidden bit.

--=20
You are receiving this mail because:
You are the assignee for the bug.=