mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385 (cherry picked from commit 559a218c9b257775fb249b67945fe4a05b7a6b9f)
11 lines
229 B
C
11 lines
229 B
C
/*
|
|
* infinity.c
|
|
*/
|
|
|
|
#include <math.h>
|
|
|
|
/* bytes for +Infinity on riscv */
|
|
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
|
|
|
|
/* bytes for NaN */
|
|
const union __nan_un __nan = { { 0, 0, 0xc0, 0xff } };
|