Changeset 10d65d70 in mainline for uspace/lib/math/test/rounding.c


Ignore:
Timestamp:
2018-09-29T14:39:54Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99170e0c
Parents:
dc68f72
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-29 14:11:34)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-29 14:39:54)
Message:

Use compiler-provided freestanding headers

Standard-compliant C compiler must provide these, so there is no point
in us trying to guess or repeat the correct contents.
This includes <float.h>, <iso646.h>, <limits.h>, <stdalign.h>, <stdarg.h>,
<stdbool.h>, <stddef.h>, <stdint.h>, and <stdnoreturn.h>.

<stdint.h> and <limits.h> need more work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/test/rounding.c

    rdc68f72 r10d65d70  
    3030#include <math.h>
    3131#include <inttypes.h>
     32#include <float.h>
    3233
    3334PCUT_INIT;
     
    278279
    279280        0.0,
    280         FLT_DENORM_MIN,    /* smallest denormal > 0 */
     281        FLT_TRUE_MIN,    /* smallest denormal > 0 */
    281282        FLT_MIN,         /* smallest normal > 0 */
    282283        0.5 - (FLT_EPSILON / 4.),
     
    378379
    379380        -0.0,
    380         -FLT_DENORM_MIN,    /* smallest denormal > 0 */
     381        -FLT_TRUE_MIN,    /* smallest denormal > 0 */
    381382        -FLT_MIN,         /* smallest normal > 0 */
    382383        -(0.5 - (FLT_EPSILON / 4.)),
Note: See TracChangeset for help on using the changeset viewer.