Changeset 84929b0 in mainline for uspace/lib/c/include/float.h


Ignore:
Timestamp:
2018-08-29T20:06:00Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Children:
ed9043f7
Parents:
184ff675
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-29 19:44:33)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-29 20:06:00)
Message:

Strip libmath to the bare necessities

File:
1 moved

Legend:

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

    r184ff675 r84929b0  
    11/*
    2  * Copyright (c) 2014 Martin Decky
     2 * Copyright (c) 2018 CZ.NIC, z.s.p.o.
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libmath
    30  * @{
    31  */
    32 /** @file
    33  */
     29#ifndef _FLOAT_H
     30#define _FLOAT_H
    3431
    35 #ifndef LIBMATH_FMOD_H_
    36 #define LIBMATH_FMOD_H_
     32// FIXME: <float.h> is freestanding. Just include the compiler-provided file.
    3733
    38 #include <mathtypes.h>
    39 
    40 extern float32_t float32_fmod(float32_t, float32_t);
    41 extern float64_t float64_fmod(float64_t, float64_t);
     34#define FLT_MANT_DIG  __FLT_MANT_DIG__
     35#define DBL_MANT_DIG  __DBL_MANT_DIG__
     36#define FLT_MAX_EXP __FLT_MAX_EXP__
     37#define DBL_MAX_EXP __DBL_MAX_EXP__
    4238
    4339#endif
    4440
    45 /** @}
    46  */
Note: See TracChangeset for help on using the changeset viewer.