void factor_vm::fp_signal_handler_impl() { /* Clear pending exceptions to avoid getting stuck in a loop */ set_fpu_state(get_fpu_state()); fp_trap_error(signal_fpu_status); }
void ieee_procedure_entry (void *state) { /* Save the floating-point state in the space provided by the caller. */ get_fpu_state (state); /* Clear the floating-point exceptions. */ set_fpu_except_flags (0, GFC_FPE_ALL); }
/* Allocates memory (fp_trap_error())*/ void factor_vm::fp_signal_handler_impl() { /* Clear pending exceptions to avoid getting stuck in a loop */ set_fpu_state(get_fpu_state()); general_error(ERROR_FP_TRAP, tag_fixnum(signal_fpu_status), false_object); }