os/ossrv/genericopenlibs/openenvcore/libm/arm/fenv.dosc
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/openenvcore/libm/arm/fenv.dosc	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,227 @@
     1.4 +/** @file ../arm/fenv.h
     1.5 +@internalComponent
     1.6 +*/
     1.7 +
     1.8 +/** @typedef typedef __uint32_t	fenv_t;
     1.9 +
    1.10 +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.
    1.11 +
    1.12 +@publishedAll
    1.13 +@externallyDefinedApi
    1.14 +*/
    1.15 +
    1.16 +/** @typedef typedef __uint32_t	fexcept_t;
    1.17 +
    1.18 +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.
    1.19 +
    1.20 +@publishedAll
    1.21 +@externallyDefinedApi
    1.22 +*/
    1.23 +
    1.24 +/** @def FE_INVALID
    1.25 +
    1.26 +Exception flags
    1.27 +
    1.28 +@publishedAll
    1.29 +@externallyDefinedApi
    1.30 +*/
    1.31 +
    1.32 +/** @def FE_DIVBYZERO
    1.33 +
    1.34 +Exception flags
    1.35 +
    1.36 +@publishedAll
    1.37 +@externallyDefinedApi
    1.38 +*/
    1.39 +
    1.40 +/** @def FE_OVERFLOW
    1.41 +
    1.42 +Exception flags
    1.43 +
    1.44 +@publishedAll
    1.45 +@externallyDefinedApi
    1.46 +*/
    1.47 +
    1.48 +/** @def FE_UNDERFLOW
    1.49 +
    1.50 +Exception flags
    1.51 +
    1.52 +@publishedAll
    1.53 +@externallyDefinedApi
    1.54 +*/
    1.55 +
    1.56 +/** @def FE_INEXACT
    1.57 +
    1.58 +Exception flags
    1.59 +
    1.60 +@publishedAll
    1.61 +@externallyDefinedApi
    1.62 +*/
    1.63 +
    1.64 +/** @def FE_ALL_EXCEPT
    1.65 +
    1.66 +Exception flags
    1.67 +
    1.68 +@publishedAll
    1.69 +@externallyDefinedApi
    1.70 +*/
    1.71 +
    1.72 +/** @def FE_TONEAREST
    1.73 +
    1.74 +Rounding modes
    1.75 +
    1.76 +@publishedAll
    1.77 +@externallyDefinedApi
    1.78 +*/
    1.79 +
    1.80 +/** @def FE_TOWARDZERO
    1.81 +
    1.82 +Rounding modes
    1.83 +
    1.84 +@publishedAll
    1.85 +@externallyDefinedApi
    1.86 +*/
    1.87 +
    1.88 +/** @def FE_UPWARD
    1.89 +
    1.90 +Rounding modes
    1.91 +
    1.92 +@publishedAll
    1.93 +@externallyDefinedApi
    1.94 +*/
    1.95 +
    1.96 +/** @def FE_DOWNWARD
    1.97 +
    1.98 +Rounding modes
    1.99 +
   1.100 +@publishedAll
   1.101 +@externallyDefinedApi
   1.102 +*/
   1.103 +
   1.104 +/** @def FE_DFL_ENV
   1.105 +
   1.106 +Default floating-point environment
   1.107 +
   1.108 +@publishedAll
   1.109 +@externallyDefinedApi
   1.110 +*/
   1.111 +
   1.112 +/** @def _FPUSW_SHIFT
   1.113 +
   1.114 +We need to be able to map status flag positions to mask flag positions
   1.115 +
   1.116 +@publishedAll
   1.117 +@externallyDefinedApi
   1.118 +*/
   1.119 +
   1.120 +/** @fn feclearexcept(int __excepts)
   1.121 +
   1.122 +clear floating-point exception
   1.123 +
   1.124 +@publishedAll
   1.125 +@externallyDefinedApi
   1.126 +*/
   1.127 +
   1.128 +/** @fn fesetexceptflag(const fexcept_t *__flagp, int __excepts)
   1.129 +
   1.130 +set floating-point status flags
   1.131 +
   1.132 +@publishedAll
   1.133 +@externallyDefinedApi
   1.134 +*/
   1.135 +
   1.136 +/** @fn fetestexcept(int __excepts)
   1.137 +
   1.138 +test floating-point exception flags
   1.139 +
   1.140 +@publishedAll
   1.141 +@externallyDefinedApi
   1.142 +*/
   1.143 +
   1.144 +/** @fn feraiseexcept(int __excepts)
   1.145 +
   1.146 +raise floating-point exception
   1.147 +
   1.148 +@publishedAll
   1.149 +@externallyDefinedApi
   1.150 +*/
   1.151 +
   1.152 +/** @fn fegetround(void)
   1.153 +
   1.154 +get current rounding direction
   1.155 +
   1.156 +@publishedAll
   1.157 +@externallyDefinedApi
   1.158 +*/
   1.159 +
   1.160 +/** @fn fesetround(int __round)
   1.161 +
   1.162 +set current rounding direction
   1.163 +
   1.164 +@publishedAll
   1.165 +@externallyDefinedApi
   1.166 +*/
   1.167 +
   1.168 +/** @fn fegetenv(fenv_t *__envp)
   1.169 +
   1.170 +get current floating-point environment
   1.171 +
   1.172 +@publishedAll
   1.173 +@externallyDefinedApi
   1.174 +*/
   1.175 +
   1.176 +/** @fn feholdexcept(fenv_t *__envp)
   1.177 +
   1.178 +save current floating-point environment
   1.179 +
   1.180 +@publishedAll
   1.181 +@externallyDefinedApi
   1.182 +*/
   1.183 +
   1.184 +/** @fn fesetenv(const fenv_t *__envp)
   1.185 +
   1.186 +set current floating-point environment
   1.187 +
   1.188 +@publishedAll
   1.189 +@externallyDefinedApi
   1.190 +*/
   1.191 +
   1.192 +/** @fn feupdateenv(const fenv_t *__envp)
   1.193 +
   1.194 +update floating-point environment
   1.195 +
   1.196 +@publishedAll
   1.197 +@externallyDefinedApi
   1.198 +*/
   1.199 +
   1.200 +/** @fn feenableexcept(int __mask)
   1.201 +
   1.202 +enable floating-point exception
   1.203 +
   1.204 +@publishedAll
   1.205 +@externallyDefinedApi
   1.206 +*/
   1.207 +
   1.208 +/** @fn fedisableexcept(int __mask)
   1.209 +
   1.210 +disable floating-point exception
   1.211 +
   1.212 +@publishedAll
   1.213 +@externallyDefinedApi
   1.214 +*/
   1.215 +
   1.216 +/** @fn fegetexcept(void)
   1.217 +
   1.218 +get floating-point status flags
   1.219 +
   1.220 +@publishedAll
   1.221 +@externallyDefinedApi
   1.222 +*/
   1.223 +
   1.224 +/** @fn fegetexceptflag(fexcept_t *__flagp, int __excepts)
   1.225 +
   1.226 +get floating-point status flags
   1.227 +
   1.228 +@publishedAll
   1.229 +@externallyDefinedApi
   1.230 +*/