LCOV - code coverage report
Current view: top level - src - mathext.c (source / functions) Hit Total Coverage
Test: coverage.info.cleaned Lines: 2 2 100.0 %
Date: 2020-12-14 08:13:14 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #include <tgmath.h>
       2             : 
       3           3 : int sgn(double val) { return (int)(((double)0 < val) - (val < (double)0)); }
       4             : 
       5           3 : double sign(double a, double b) { return (b >= 0.0) ? fabs(a) : -fabs(a); }

Generated by: LCOV version 1.14