source: vendor/FreeBSD-libc/current/i386/gen/infinity.c

Last change on this file was 2006, checked in by bird, 20 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 347 bytes
Line 
1/*
2 * infinity.c
3 */
4
5#include <sys/cdefs.h>
6__FBSDID("$FreeBSD: src/lib/libc/i386/gen/infinity.c,v 1.10 2003/02/08 20:37:52 mike Exp $");
7
8#include <math.h>
9
10/* bytes for +Infinity on a 387 */
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 } };
Note: See TracBrowser for help on using the repository browser.