1294227Sbr/* 2294227Sbr * infinity.c 3294227Sbr */ 4294227Sbr 5294227Sbr#include <sys/cdefs.h> 6294227Sbr__FBSDID("$FreeBSD: releng/11.0/lib/libc/riscv/gen/infinity.c 294227 2016-01-17 15:21:23Z br $"); 7294227Sbr 8294227Sbr#include <math.h> 9294227Sbr 10294227Sbr/* bytes for +Infinity on riscv */ 11294227Sbrconst union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }; 12294227Sbr 13294227Sbr/* bytes for NaN */ 14294227Sbrconst union __nan_un __nan = { { 0, 0, 0xc0, 0xff } }; 15