Embedded Artistry Framework
Embedded Systems C++ Framework
src
stdlibs
libc
openlibm
src
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:
OLM_DLLEXPORT
type \
fn
(
type
x,
type
y) \
{ \
\
if (
isnan
(x)) \
return (x); \
if (
isnan
(y)) \
return (y); \
return (x > y ? x - y : 0.0); \
}
isnan
#define isnan(x)
Definition:
openlibm_math.h:128
type
#define type
Definition:
s_llrint.c:4
OLM_DLLEXPORT
#define OLM_DLLEXPORT
Definition:
openlibm_math.h:43
fn
#define fn
Definition:
s_llrint.c:7
Generated by
1.8.15