mirror of
https://github.com/opnsense/src.git
synced 2026-04-14 13:57:02 -04:00
HUGE_VAL is not properly aligned on some architectures. The previous fix now works because the two versions of 'math.h' (include/math.h and lib/msun/src/math.h) have since been merged into one. PR: bin/43544
11 lines
200 B
C
11 lines
200 B
C
/*
|
|
* infinity.c
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
#include <math.h>
|
|
|
|
/* bytes for +Infinity on a 387 */
|
|
const union __infinity_un __infinity = { { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
|