e0daa8fb65
Reviewed by: andrew, emaste, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4943
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 } };
|