summaryrefslogtreecommitdiffstats
path: root/lib/libc/aarch64/gen/infinity.c
blob: c96045e581b6b27f16e066baaad4b9d91880cc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * infinity.c
 */

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

#include <math.h>

/* bytes for +Infinity on aarch64 */
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 } };
OpenPOWER on IntegriCloud