mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
15 lines
276 B
C
15 lines
276 B
C
|
|
/*
|
||
|
|
* infinity.c
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <sys/cdefs.h>
|
||
|
|
__FBSDID("$FreeBSD$");
|
||
|
|
|
||
|
|
#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 } };
|