naev 0.11.5
debug_fpu.c File Reference

Implements the debug_enableFPUExcept function where supported (GNU systems). This is separated into its own file because defining _GNU_SOURCE – the only way to get access to feenableexcept() – does frightening things. More...

#include "debug.h"

Go to the source code of this file.

Functions

void debug_enableFPUExcept (void)
 Enables FPU exceptions. Artificially limited to Linux until link issues are figured out.
 
void debug_disableFPUExcept (void)
 Disables FPU exceptions.
 

Detailed Description

Implements the debug_enableFPUExcept function where supported (GNU systems). This is separated into its own file because defining _GNU_SOURCE – the only way to get access to feenableexcept() – does frightening things.

Definition in file debug_fpu.c.

Function Documentation

◆ debug_disableFPUExcept()

void debug_disableFPUExcept ( void )

Disables FPU exceptions.

Definition at line 36 of file debug_fpu.c.

◆ debug_enableFPUExcept()

void debug_enableFPUExcept ( void )

Enables FPU exceptions. Artificially limited to Linux until link issues are figured out.

Definition at line 26 of file debug_fpu.c.