PER Firmware
Loading...
Searching...
No Matches
max_test_shim.c File Reference

C-compilation environment for testing C23 max.h macros. More...

#include "max_test_shim.h"
#include "max.h"
Include dependency graph for max_test_shim.c:

Functions

signed int test_max2_signed (signed int a, signed int b)
 
unsigned int test_max2_unsigned (unsigned int a, unsigned int b)
 
float test_max2_float (float a, float b)
 
int test_MAXOF2_int (int a, int b)
 
unsigned int test_MAXOF2_uint (unsigned int a, unsigned int b)
 
float test_MAXOF2_float (float a, float b)
 
int8_t test_MAXOF2_int8 (int8_t a, int8_t b)
 
uint16_t test_MAXOF2_uint16 (uint16_t a, uint16_t b)
 
int test_MAXOF3_int (int a, int b, int c)
 
float test_MAXOF3_float (float a, float b, float c)
 
int test_MAXOF4_int (int a, int b, int c, int d)
 
int test_MAXOF_4arg (int a, int b, int c, int d)
 
int test_MAXOF_3arg (int a, int b, int c)
 
int test_MAXOF_2arg (int a, int b)
 

Detailed Description

C-compilation environment for testing C23 max.h macros.

Function Documentation

◆ test_max2_float()

float test_max2_float ( float a,
float b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_max2_signed()

signed int test_max2_signed ( signed int a,
signed int b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_max2_unsigned()

unsigned int test_max2_unsigned ( unsigned int a,
unsigned int b )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_MAXOF2_float()

float test_MAXOF2_float ( float a,
float b )
Here is the caller graph for this function:

◆ test_MAXOF2_int()

int test_MAXOF2_int ( int a,
int b )
Here is the caller graph for this function:

◆ test_MAXOF2_int8()

int8_t test_MAXOF2_int8 ( int8_t a,
int8_t b )
Here is the caller graph for this function:

◆ test_MAXOF2_uint()

unsigned int test_MAXOF2_uint ( unsigned int a,
unsigned int b )
Here is the caller graph for this function:

◆ test_MAXOF2_uint16()

uint16_t test_MAXOF2_uint16 ( uint16_t a,
uint16_t b )
Here is the caller graph for this function:

◆ test_MAXOF3_float()

float test_MAXOF3_float ( float a,
float b,
float c )
Here is the caller graph for this function:

◆ test_MAXOF3_int()

int test_MAXOF3_int ( int a,
int b,
int c )
Here is the caller graph for this function:

◆ test_MAXOF4_int()

int test_MAXOF4_int ( int a,
int b,
int c,
int d )
Here is the caller graph for this function:

◆ test_MAXOF_2arg()

int test_MAXOF_2arg ( int a,
int b )
Here is the caller graph for this function:

◆ test_MAXOF_3arg()

int test_MAXOF_3arg ( int a,
int b,
int c )
Here is the caller graph for this function:

◆ test_MAXOF_4arg()

int test_MAXOF_4arg ( int a,
int b,
int c,
int d )
Here is the caller graph for this function: