KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
fpu_exc.c File Reference
#include <kos.h>
#include <stdio.h>
#include <stdlib.h>
#include <float.h>

Macros

#define SH4_FPU_CONFIG_NAME   "unknown"
 

Functions

static const char * fpscr_stringify (unsigned int value, char *buffer, size_t bytes)
 
static bool fpscr_test (const char *name, unsigned mask, void(*test)(void))
 
static void fpscr_underflow (void)
 
static void fpscr_overflow (void)
 
static void fpscr_nan (void)
 
static void fpscr_div_zero (void)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ SH4_FPU_CONFIG_NAME

#define SH4_FPU_CONFIG_NAME   "unknown"

Referenced by main().

Function Documentation

◆ fpscr_div_zero()

static void fpscr_div_zero ( void )
static

Referenced by main().

◆ fpscr_nan()

static void fpscr_nan ( void )
static

Referenced by main().

◆ fpscr_overflow()

static void fpscr_overflow ( void )
static

Referenced by main().

◆ fpscr_stringify()

static const char * fpscr_stringify ( unsigned int value,
char * buffer,
size_t bytes )
static

References buffer.

Referenced by fpscr_test(), and main().

◆ fpscr_test()

static bool fpscr_test ( const char * name,
unsigned mask,
void(* test )(void) )
static

References buffer, fprintf, fpscr_stringify(), and printf.

Referenced by main().

◆ fpscr_underflow()

static void fpscr_underflow ( void )
static

Referenced by main().

◆ main()