1/* 2 * infinity.c 3 */ 4 5#include <sys/cdefs.h> 6__FBSDID("$FreeBSD: releng/11.0/lib/libc/riscv/gen/infinity.c 294227 2016-01-17 15:21:23Z br $"); 7 8#include <math.h> 9 10/* bytes for +Infinity on riscv */ 11const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }; 12 13/* bytes for NaN */ 14const union __nan_un __nan = { { 0, 0, 0xc0, 0xff } }; 15