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/include/float.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 /* The <float.h> header defines some implementation limits for (IEEE) floating
    2  * point. Application programs can use it to find out how big and small 
    3  * floating-point numbers can be, what epsilon to use for iteration, etc.
    4  */
    5 
    6 #ifndef _FLOAT_H
    7 #define _FLOAT_H
    8 
    9 #define FLT_DIG                 6
   10 #define FLT_EPSILON             1.19209290e-07F
   11 #define FLT_MANT_DIG            24
   12 #define FLT_MAX                 3.40282347e+38F
   13 #define FLT_MAX_10_EXP          38
   14 #define FLT_MAX_EXP             128
   15 #define FLT_MIN                 1.17549435e-38F
   16 #define FLT_MIN_10_EXP          -37
   17 #define FLT_MIN_EXP             -125
   18 
   19 #define DBL_DIG                 15
   20 #define DBL_EPSILON             2.2204460492503131e-16
   21 #define DBL_MANT_DIG            53
   22 #define DBL_MAX                 1.7976931348623157e+308
   23 #define DBL_MAX_10_EXP          308
   24 #define DBL_MAX_EXP             1024
   25 #define DBL_MIN                 2.2250738585072014e-308
   26 #define DBL_MIN_10_EXP          -307
   27 #define DBL_MIN_EXP             -1021
   28 
   29 #define LDBL_DIG                15
   30 #define LDBL_EPSILON            2.2204460492503131e-16L
   31 #define LDBL_MANT_DIG           53
   32 #define LDBL_MAX                1.7976931348623157e+308L
   33 #define LDBL_MAX_10_EXP         308
   34 #define LDBL_MAX_EXP            1024
   35 #define LDBL_MIN                2.2250738585072014e-308L
   36 #define LDBL_MIN_10_EXP         -307
   37 #define LDBL_MIN_EXP            -1021
   38 
   39 #define FLT_ROUNDS              1
   40 #define FLT_RADIX               2
   41 
   42 #endif /* _FLOAT_H */

Cache object: 57237df3e889e9378aae0da8b5c38968


[ 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.