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

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

Generated by: LCOV version 2.0-1