Back to index

nagios-plugins  1.4.16
Defines | Functions
math.in.h File Reference

Go to the source code of this file.

Defines

#define _GL_MATH_H
#define _GL_WARN_REAL_FLOATING_DECL(func)
#define _GL_WARN_REAL_FLOATING_IMPL(func, value)
#define NAN   (0.0f / 0.0f)

Functions

 _GL_FUNCDECL_SYS (frexpl, long double,(long double x, int *expptr) _GL_ARG_NONNULL((2)))
 _GL_FUNCDECL_SYS (ldexpl, long double,(long double x, int exp))

Define Documentation

#define _GL_MATH_H

Definition at line 28 of file math.in.h.

#define _GL_WARN_REAL_FLOATING_DECL (   func)
Value:
static inline int                                                   \
rpl_ ## func ## f (float f)                                         \
{                                                                   \
  return func (f);                                                  \
}                                                                   \
static inline int                                                   \
rpl_ ## func ## d (double d)                                        \
{                                                                   \
  return func (d);                                                  \
}                                                                   \
static inline int                                                   \
rpl_ ## func ## l (long double l)                                   \
{                                                                   \
  return func (l);                                                  \
}                                                                   \
_GL_WARN_ON_USE (rpl_ ## func ## f, #func " is unportable - "       \
                 "use gnulib module " #func " for portability");    \
_GL_WARN_ON_USE (rpl_ ## func ## d, #func " is unportable - "       \
                 "use gnulib module " #func " for portability");    \
_GL_WARN_ON_USE (rpl_ ## func ## l, #func " is unportable - "       \
                 "use gnulib module " #func " for portability")

Definition at line 41 of file math.in.h.

#define _GL_WARN_REAL_FLOATING_IMPL (   func,
  value 
)
Value:
(sizeof (value) == sizeof (float) ? rpl_ ## func ## f (value)     \
   : sizeof (value) == sizeof (double) ? rpl_ ## func ## d (value)  \
   : rpl_ ## func ## l (value))

Definition at line 63 of file math.in.h.

#define NAN   (0.0f / 0.0f)

Definition at line 86 of file math.in.h.


Function Documentation

_GL_FUNCDECL_SYS ( frexpl  ,
long  double,
(long double x, int *expptr) _GL_ARG_NONNULL((2))   
)
_GL_FUNCDECL_SYS ( ldexpl  ,
long  double,
(long double x, int exp  
)