Embedded Artistry Framework
Embedded Systems C++ Framework
Macros
s_fdim.c File Reference
#include "cdefs-compat.h"
#include <openlibm_math.h>
#include "math_private.h"
Include dependency graph for s_fdim.c:

Macros

#define DECL(type, fn)
 

Macro Definition Documentation

◆ DECL

#define DECL (   type,
  fn 
)
Value:
fn(type x, type y) \
{ \
\
if (isnan(x)) \
return (x); \
if (isnan(y)) \
return (y); \
return (x > y ? x - y : 0.0); \
}
#define isnan(x)
Definition: openlibm_math.h:128
#define type
Definition: s_llrint.c:4
#define OLM_DLLEXPORT
Definition: openlibm_math.h:43
#define fn
Definition: s_llrint.c:7