The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mips/include/ieeefp.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: ieeefp.h,v 1.2 1999/01/27 04:46:05 imp Exp $  */
    2 
    3 /*-
    4  * Written by J.T. Conklin, Apr 11, 1995
    5  * Public domain.
    6  *
    7  *      JNPR: ieeefp.h,v 1.1 2006/08/07 05:38:57 katta
    8  * $FreeBSD: releng/9.0/sys/mips/include/ieeefp.h 202175 2010-01-12 21:36:08Z imp $
    9  */
   10 
   11 #ifndef _MACHINE_IEEEFP_H_
   12 #define _MACHINE_IEEEFP_H_
   13 
   14 typedef int fp_except;
   15 typedef int fp_except_t;
   16 
   17 #define FP_X_IMP        0x01    /* imprecise (loss of precision) */
   18 #define FP_X_UFL        0x02    /* underflow exception */
   19 #define FP_X_OFL        0x04    /* overflow exception */
   20 #define FP_X_DZ         0x08    /* divide-by-zero exception */
   21 #define FP_X_INV        0x10    /* invalid operation exception */
   22 
   23 typedef enum {
   24         FP_RN=0,                /* round to nearest representable number */
   25         FP_RZ=1,                /* round to zero (truncate) */
   26         FP_RP=2,                /* round toward positive infinity */
   27         FP_RM=3                 /* round toward negative infinity */
   28 } fp_rnd;
   29 
   30 typedef fp_rnd fp_rnd_t;
   31 
   32 #endif /* !_MACHINE_IEEEFP_H_ */

Cache object: 541c7cdccca85f89253dbf9c38dfc2f3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.