Changeset 3b814c3a in mainline for uspace/lib/c


Ignore:
Timestamp:
2018-08-30T19:12:03Z (8 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Children:
bbdca54
Parents:
ace1bca4
Message:

Add nearbyint() and PCUT-based tests for present rounding functions.

Location:
uspace/lib/c/include
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/float.h

    race1bca4 r3b814c3a  
    3232// FIXME: <float.h> is freestanding. Just include the compiler-provided file.
    3333
     34#define FLT_MIN __FLT_MIN__
     35#define FLT_DENORM_MIN __FLT_DENORM_MIN__
     36#define FLT_EPSILON __FLT_EPSILON__
     37
    3438#define FLT_MANT_DIG  __FLT_MANT_DIG__
    3539#define DBL_MANT_DIG  __DBL_MANT_DIG__
  • uspace/lib/c/include/math.h

    race1bca4 r3b814c3a  
    312312#define copysignl __builtin_copysignl
    313313
     314#define nextafter __builtin_nextafter
     315#define nextafterf __builtin_nextafterf
     316#define nextafterl __builtin_nextafterl
     317
    314318#endif
    315319
Note: See TracChangeset for help on using the changeset viewer.