os/ossrv/genericopenlibs/openenvcore/libm/arm/fenv.dosc
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /** @file ../arm/fenv.h
     2 @internalComponent
     3 */
     4 
     5 /** @typedef typedef __uint32_t	fenv_t;
     6 
     7 Represents the entire floating-point environment. The floating-point environment refers collectively to any floating-point status flags and control modes supported by the implementation.
     8 
     9 @publishedAll
    10 @externallyDefinedApi
    11 */
    12 
    13 /** @typedef typedef __uint32_t	fexcept_t;
    14 
    15 Represents the floating-point status flags collectively, including any status the implementation associates with the flags. A floating-point status flag is a system variable whose value is set (but never cleared) when a floating-point exception is raised, which occurs as a side effect of exceptional floating-point arithmetic to provide auxiliary information. A floating-point control mode is a system variable whose value may be set by the user to affect the subsequent behavior of floating-point arithmetic.
    16 
    17 @publishedAll
    18 @externallyDefinedApi
    19 */
    20 
    21 /** @def FE_INVALID
    22 
    23 Exception flags
    24 
    25 @publishedAll
    26 @externallyDefinedApi
    27 */
    28 
    29 /** @def FE_DIVBYZERO
    30 
    31 Exception flags
    32 
    33 @publishedAll
    34 @externallyDefinedApi
    35 */
    36 
    37 /** @def FE_OVERFLOW
    38 
    39 Exception flags
    40 
    41 @publishedAll
    42 @externallyDefinedApi
    43 */
    44 
    45 /** @def FE_UNDERFLOW
    46 
    47 Exception flags
    48 
    49 @publishedAll
    50 @externallyDefinedApi
    51 */
    52 
    53 /** @def FE_INEXACT
    54 
    55 Exception flags
    56 
    57 @publishedAll
    58 @externallyDefinedApi
    59 */
    60 
    61 /** @def FE_ALL_EXCEPT
    62 
    63 Exception flags
    64 
    65 @publishedAll
    66 @externallyDefinedApi
    67 */
    68 
    69 /** @def FE_TONEAREST
    70 
    71 Rounding modes
    72 
    73 @publishedAll
    74 @externallyDefinedApi
    75 */
    76 
    77 /** @def FE_TOWARDZERO
    78 
    79 Rounding modes
    80 
    81 @publishedAll
    82 @externallyDefinedApi
    83 */
    84 
    85 /** @def FE_UPWARD
    86 
    87 Rounding modes
    88 
    89 @publishedAll
    90 @externallyDefinedApi
    91 */
    92 
    93 /** @def FE_DOWNWARD
    94 
    95 Rounding modes
    96 
    97 @publishedAll
    98 @externallyDefinedApi
    99 */
   100 
   101 /** @def FE_DFL_ENV
   102 
   103 Default floating-point environment
   104 
   105 @publishedAll
   106 @externallyDefinedApi
   107 */
   108 
   109 /** @def _FPUSW_SHIFT
   110 
   111 We need to be able to map status flag positions to mask flag positions
   112 
   113 @publishedAll
   114 @externallyDefinedApi
   115 */
   116 
   117 /** @fn feclearexcept(int __excepts)
   118 
   119 clear floating-point exception
   120 
   121 @publishedAll
   122 @externallyDefinedApi
   123 */
   124 
   125 /** @fn fesetexceptflag(const fexcept_t *__flagp, int __excepts)
   126 
   127 set floating-point status flags
   128 
   129 @publishedAll
   130 @externallyDefinedApi
   131 */
   132 
   133 /** @fn fetestexcept(int __excepts)
   134 
   135 test floating-point exception flags
   136 
   137 @publishedAll
   138 @externallyDefinedApi
   139 */
   140 
   141 /** @fn feraiseexcept(int __excepts)
   142 
   143 raise floating-point exception
   144 
   145 @publishedAll
   146 @externallyDefinedApi
   147 */
   148 
   149 /** @fn fegetround(void)
   150 
   151 get current rounding direction
   152 
   153 @publishedAll
   154 @externallyDefinedApi
   155 */
   156 
   157 /** @fn fesetround(int __round)
   158 
   159 set current rounding direction
   160 
   161 @publishedAll
   162 @externallyDefinedApi
   163 */
   164 
   165 /** @fn fegetenv(fenv_t *__envp)
   166 
   167 get current floating-point environment
   168 
   169 @publishedAll
   170 @externallyDefinedApi
   171 */
   172 
   173 /** @fn feholdexcept(fenv_t *__envp)
   174 
   175 save current floating-point environment
   176 
   177 @publishedAll
   178 @externallyDefinedApi
   179 */
   180 
   181 /** @fn fesetenv(const fenv_t *__envp)
   182 
   183 set current floating-point environment
   184 
   185 @publishedAll
   186 @externallyDefinedApi
   187 */
   188 
   189 /** @fn feupdateenv(const fenv_t *__envp)
   190 
   191 update floating-point environment
   192 
   193 @publishedAll
   194 @externallyDefinedApi
   195 */
   196 
   197 /** @fn feenableexcept(int __mask)
   198 
   199 enable floating-point exception
   200 
   201 @publishedAll
   202 @externallyDefinedApi
   203 */
   204 
   205 /** @fn fedisableexcept(int __mask)
   206 
   207 disable floating-point exception
   208 
   209 @publishedAll
   210 @externallyDefinedApi
   211 */
   212 
   213 /** @fn fegetexcept(void)
   214 
   215 get floating-point status flags
   216 
   217 @publishedAll
   218 @externallyDefinedApi
   219 */
   220 
   221 /** @fn fegetexceptflag(fexcept_t *__flagp, int __excepts)
   222 
   223 get floating-point status flags
   224 
   225 @publishedAll
   226 @externallyDefinedApi
   227 */