Back to index

glibc  2.9
Functions | Variables
sim-full.c File Reference
#include <signal.h>
#include "soft-fp.h"
#include "soft-supp.h"

Go to the source code of this file.

Functions

int __sim_exceptions __attribute__ ((nocommon))
 libc_hidden_data_def (__sim_exceptions)
 libc_hidden_data_def (__sim_disabled_exceptions)
 libc_hidden_data_def (__sim_round_mode)
void __simulate_exceptions (int x)

Variables

int __sim_disabled_exceptions = 0xffffffff

Function Documentation

Definition at line 37 of file sim-full.c.

{
  __sim_exceptions |= x;
  if (x & ~__sim_disabled_exceptions)
    raise (SIGFPE);
}

Variable Documentation

Definition at line 30 of file sim-full.c.