CVS commit: src/tests/lib/libc/gen

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Mon Feb 16 13:51:27 UTC 2026

Modified Files:
	src/tests/lib/libc/gen: t_fpclassify.c

Log Message:
t_fpclassify: Check only the IEEE 754 exceptions.

On Intel CPUs, various x87 instructions (notably FLD, to load a
floating-point value from memory into the floating-point register
stack) raise the nonstandard FE_DENORMAL exception (0x2), meaning an
input was subnormal.

Should fix a spate of failures like this:

*** Check failed: /tmp/build/2026.02.16.03.57.08-i386/src/tests/lib/libc/gen/t_fpclassify.c:635: expected no exceptions, got 0x2


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/gen/t_fpclassify.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.