LCOV - code coverage report
Current view: top level - core - math_utils.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 66.7 % 6 4
Test Date: 2026-03-04 10:22:18 Functions: 66.7 % 3 2

            Line data    Source code
       1              : #include "cfd/core/math_utils.h"
       2              : 
       3              : //=============================================================================
       4              : // MATH UTILITIES
       5              : //=============================================================================
       6              : 
       7         1680 : double min_double(double a, double b) {
       8         1680 :     return (a < b) ? a : b;
       9              : }
      10              : 
      11        34503 : double max_double(double a, double b) {
      12        34503 :     return (a > b) ? a : b;
      13              : }
      14              : 
      15            0 : double sign(double x) {
      16            0 :     return (x > 0) ? 1.0 : ((x < 0) ? -1.0 : 0.0);
      17              : }
        

Generated by: LCOV version 2.0-1