LCOV - code coverage report
Current view: top level - source/math/func - sign.cpp (source / functions) Coverage Total Hit
Test: mxlib Lines: 33.3 % 6 2
Test Date: 2026-08-30 22:23:37 Functions: 33.3 % 3 1

            Line data    Source code
       1              : 
       2              : #include "math/func/sign.hpp"
       3              : 
       4              : #include <boost/math/special_functions/sign.hpp>
       5              : 
       6              : namespace mx
       7              : {
       8              : namespace math
       9              : {
      10              : namespace func
      11              : {
      12              : 
      13              : template <>
      14            0 : float sign<float>( float x )
      15              : {
      16            0 :     return boost::math::sign<float>( x );
      17              : }
      18              : 
      19              : template <>
      20           27 : double sign<double>( double x )
      21              : {
      22           27 :     return boost::math::sign<double>( x );
      23              : }
      24              : 
      25              : template <>
      26            0 : long double sign<long double>( long double x )
      27              : {
      28            0 :     return boost::math::sign<long double>( x );
      29              : }
      30              : 
      31              : } // namespace func
      32              : } // namespace math
      33              : } // namespace mx
        

Generated by: LCOV version 2.0-1