zig/lib/libc/include/generic-netbsd/powerpc/ieee.h
Alex Rønne Petersen 553cb3ed46
libc: Add NetBSD system and libc headers from 10.1.
sys/param.h was manually adjusted to not define __NetBSD_Version__ since it will
be defined by the compiler.
2025-05-17 04:41:27 +02:00

18 lines
No EOL
357 B
C
Vendored

/* $NetBSD: ieee.h,v 1.6 2014/10/22 10:32:50 joerg Exp $ */
#include <sys/ieee754.h>
/*
* A NaN is a `signalling NaN' if its QUIETNAN bit is clear in its
* high fraction; if the bit is set, it is a `quiet NaN'.
*/
#if 0
#define SNG_QUIETNAN (1 << 22)
#define DBL_QUIETNAN (1 << 19)
#endif
union ldbl_u {
long double ldblu_ld;
double ldblu_d[2];
};