PandA-2024.02
Macros | Functions
libm-test.c File Reference
#include <math.h>
#include <stdlib.h>
Include dependency graph for libm-test.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define I_MULTITEST_F(func)
 
#define B_MULTITEST_F(func)
 

Functions

FLOAT gamma_test (FLOAT a, int *pb)
 
FLOAT lgamma_test (FLOAT a, int *pb)
 
FLOAT modf_test (FLOAT a, FLOAT *pb)
 
void sincos_test (FLOAT a, FLOAT *pb, FLOAT *pc)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 34 of file libm-test.c.

◆ B_MULTITEST_F

#define B_MULTITEST_F (   func)
Value:
_Bool func##_test(FLOAT a) \
{ \
return func(a); \
}
#define FLOAT
Definition: test-float.c:35

Definition at line 112 of file libm-test.c.

Referenced by modf_test().

◆ I_MULTITEST_F

#define I_MULTITEST_F (   func)
Value:
int func##_test(FLOAT a) \
{ \
return func(a); \
}
#define FLOAT
Definition: test-float.c:35

Definition at line 106 of file libm-test.c.

Referenced by gamma_test().

Function Documentation

◆ gamma_test()

FLOAT gamma_test ( FLOAT  a,
int *  pb 
)

Definition at line 146 of file libm-test.c.

References FLOAT, FUNC, I_MULTITEST_F, and lgamma_test().

Here is the call graph for this function:

◆ lgamma_test()

FLOAT lgamma_test ( FLOAT  a,
int *  pb 
)

Definition at line 167 of file libm-test.c.

References FLOAT, FUNC, and modf_test().

Referenced by gamma_test().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ modf_test()

FLOAT modf_test ( FLOAT  a,
FLOAT pb 
)

Definition at line 187 of file libm-test.c.

References B_MULTITEST_F, FUNC, and sincos_test().

Referenced by lgamma_test().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sincos_test()

void sincos_test ( FLOAT  a,
FLOAT pb,
FLOAT pc 
)

Definition at line 207 of file libm-test.c.

References FUNC.

Referenced by modf_test().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13