• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nasa / trick / 15560595695

10 Jun 2025 01:17PM UTC coverage: 55.929% (-0.02%) from 55.948%
15560595695

Pull #1915

github

web-flow
Merge 7e26ab1f0 into b34afa649
Pull Request #1915: FPEs don't work on Macs #1914

0 of 2 new or added lines in 2 files covered. (0.0%)

8 existing lines in 5 files now uncovered.

12329 of 22044 relevant lines covered (55.93%)

255947.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/trick_source/sim_services/Executive/fpe_handler.cpp
1
/*
2
   PURPOSE: (Floating point exception handler)
3

4
   PROGRAMMERS: (((Robert W. Bailey) (LinCom) (April 1992) (--) (Realtime)))
5
 */
6

7
#include <string.h>
8
#include <stdio.h>
9
#include <signal.h>
10

11
/*
12
 * FPE specific headers
13
 */
14
#ifdef __linux__
15
#include <fenv.h>
16
#endif
17

18
#include "trick/Executive.hh"
19
#include "trick/exec_proto.hh"
20

21
/**
22
 * @relates Trick::Executive
23
 * C binded function to handle the SIGFPE signal.  The handler prints which type of
24
 * floating point error has occured and calls exec_terminate()
25
 * @return void
26
 */
NEW
27
void fpe_sig_handler(int sig __attribute__ ((unused)), siginfo_t * sip, void *uap __attribute__ ((unused)))
×
28
{
UNCOV
29
    Trick::Executive * E = exec_get_exec_cpp();
×
30
    E->fpe_handler(sip) ;
×
UNCOV
31
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc