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