Changeset 810a36f in mainline for uspace/lib/math/include/mathtypes.h
- Timestamp:
- 2017-10-24T05:29:08Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1eb7ef
- Parents:
- c8fbbe7 (diff), 673ea28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/include/mathtypes.h
rc8fbbe7 r810a36f 191 191 #endif 192 192 193 194 #if defined(FLOAT_SIZE_32) 195 196 #ifndef float32_t 197 #define float32_t float 198 #endif 199 200 #elif defined(FLOAT_SIZE_64) 201 202 #ifndef float64_t 203 #define float64_t float 204 #endif 205 206 #elif defined(FLOAT_SIZE_96) 207 208 #ifndef float96_t 209 #define float96_t float 210 #endif 211 212 #elif defined(FLOAT_SIZE_128) 213 214 #ifndef float128_t 215 #define float128_t float 216 #endif 217 218 #endif 219 220 221 #if defined(DOUBLE_SIZE_32) 222 223 #ifndef float32_t 224 #define float32_t double 225 #endif 226 227 #elif defined(DOUBLE_SIZE_64) 228 229 #ifndef float64_t 230 #define float64_t double 231 #endif 232 233 #elif defined(DOUBLE_SIZE_96) 234 235 #ifndef float96_t 236 #define float96_t double 237 #endif 238 239 #elif defined(DOUBLE_SIZE_128) 240 241 #ifndef float128_t 242 #define float128_t double 243 #endif 244 245 #endif 246 247 248 #if defined(LONG_DOUBLE_SIZE_32) 249 250 #ifndef float32_t 251 #define float32_t long double 252 #endif 253 254 #elif defined(LONG_DOUBLE_SIZE_64) 255 256 #ifndef float64_t 257 #define float64_t long double 258 #endif 259 260 #elif defined(LONG_DOUBLE_SIZE_96) 261 262 #ifndef float96_t 263 #define float96_t long double 264 #endif 265 266 #elif defined(LONG_DOUBLE_SIZE_128) 267 268 #ifndef float128_t 269 #define float128_t long double 270 #endif 271 272 #endif 273 193 #if __SIZEOF_FLOAT__ == 4 194 #define float32_t float 195 #elif __SIZEOF_DOUBLE__ == 4 196 #define float32_t double 197 #elif __SIZEOF_LONG_DOUBLE__ == 4 198 #define float32_t long double 199 #endif 200 201 #if __SIZEOF_FLOAT__ == 8 202 #define float64_t float 203 #elif __SIZEOF_DOUBLE__ == 8 204 #define float64_t double 205 #elif __SIZEOF_LONG_DOUBLE__ == 8 206 #define float64_t long double 207 #endif 208 209 #if __SIZEOF_FLOAT__ == 12 210 #define float96_t float 211 #elif __SIZEOF_DOUBLE__ == 12 212 #define float96_t double 213 #elif __SIZEOF_LONG_DOUBLE__ == 12 214 #define float96_t long double 215 #endif 216 217 #if __SIZEOF_FLOAT__ == 16 218 #define float128_t float 219 #elif __SIZEOF_DOUBLE__ == 16 220 #define float128_t double 221 #elif __SIZEOF_LONG_DOUBLE__ == 16 222 #define float128_t long double 223 #endif 274 224 275 225 #ifdef float32_t
Note:
See TracChangeset
for help on using the changeset viewer.