|
325 | 325 |
|
326 | 326 | #define absfx(x) \ |
327 | 327 | _Generic((x), \ |
328 | | - fract: absr, \ |
329 | | - short fract: abshr, \ |
330 | | - long fract: abslr, \ |
331 | | - _Accum: absk, \ |
332 | | - short _Accum: abshk, \ |
| 328 | + fract: absr, \ |
| 329 | + short fract: abshr, \ |
| 330 | + long fract: abslr, \ |
| 331 | + _Accum: absk, \ |
| 332 | + short _Accum: abshk, \ |
333 | 333 | long _Accum: abslk)(x) |
334 | 334 |
|
335 | 335 | #define countlsfx(x) \ |
336 | 336 | _Generic((x), \ |
337 | | - fract: countlsr, \ |
338 | | - short fract: countlshr, \ |
339 | | - long fract: countlslr, \ |
340 | | - _Accum: countlsk, \ |
341 | | - short _Accum: countlshk, \ |
342 | | - long _Accum: countlslk, \ |
343 | | - unsigned fract: countlsur, \ |
344 | | - unsigned short fract: countlsuhr, \ |
345 | | - unsigned long fract: countlsulr, \ |
346 | | - unsigned _Accum: countlsuk, \ |
347 | | - unsigned short _Accum: countlsuhk, \ |
| 337 | + fract: countlsr, \ |
| 338 | + short fract: countlshr, \ |
| 339 | + long fract: countlslr, \ |
| 340 | + _Accum: countlsk, \ |
| 341 | + short _Accum: countlshk, \ |
| 342 | + long _Accum: countlslk, \ |
| 343 | + unsigned fract: countlsur, \ |
| 344 | + unsigned short fract: countlsuhr, \ |
| 345 | + unsigned long fract: countlsulr, \ |
| 346 | + unsigned _Accum: countlsuk, \ |
| 347 | + unsigned short _Accum: countlsuhk, \ |
348 | 348 | unsigned long _Accum: countlsulk)(x) |
349 | 349 |
|
350 | 350 | #define roundfx(x, y) \ |
351 | 351 | _Generic((x), \ |
352 | | - fract: roundr, \ |
353 | | - short fract: roundhr, \ |
354 | | - long fract: roundlr, \ |
355 | | - _Accum: roundk, \ |
356 | | - short _Accum: roundhk, \ |
357 | | - long _Accum: roundlk, \ |
358 | | - unsigned fract: roundur, \ |
359 | | - unsigned short fract: rounduhr, \ |
360 | | - unsigned long fract: roundulr, \ |
361 | | - unsigned _Accum: rounduk, \ |
362 | | - unsigned short _Accum: rounduhk, \ |
| 352 | + fract: roundr, \ |
| 353 | + short fract: roundhr, \ |
| 354 | + long fract: roundlr, \ |
| 355 | + _Accum: roundk, \ |
| 356 | + short _Accum: roundhk, \ |
| 357 | + long _Accum: roundlk, \ |
| 358 | + unsigned fract: roundur, \ |
| 359 | + unsigned short fract: rounduhr, \ |
| 360 | + unsigned long fract: roundulr, \ |
| 361 | + unsigned _Accum: rounduk, \ |
| 362 | + unsigned short _Accum: rounduhk, \ |
363 | 363 | unsigned long _Accum: roundulk)(x, y) |
364 | 364 |
|
365 | 365 | #endif // LIBC_COMPILER_HAS_FIXED_POINT |
|
0 commit comments