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

nasa / trick / 15545958438

09 Jun 2025 10:26PM UTC coverage: 55.947% (-0.001%) from 55.948%
15545958438

Pull #1915

github

web-flow
Merge f742b8817 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%)

6 existing lines in 4 files now uncovered.

12333 of 22044 relevant lines covered (55.95%)

255450.99 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