LCOV - code coverage report
Current view: top level - src - e_lgammaf.c (source / functions) Coverage Total Hit
Test: app.info Lines: 100.0 % 2 2
Test Date: 2024-01-11 15:52:50 Functions: 100.0 % 1 1
Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /* e_lgammaf.c -- float version of e_lgamma.c.
       2                 :             :  * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
       3                 :             :  */
       4                 :             : 
       5                 :             : /*
       6                 :             :  * ====================================================
       7                 :             :  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
       8                 :             :  *
       9                 :             :  * Developed at SunPro, a Sun Microsystems, Inc. business.
      10                 :             :  * Permission to use, copy, modify, and distribute this
      11                 :             :  * software is freely granted, provided that this notice
      12                 :             :  * is preserved.
      13                 :             :  * ====================================================
      14                 :             :  */
      15                 :             : 
      16                 :             : #include "cdefs-compat.h"
      17                 :             : //__FBSDID("$FreeBSD: src/lib/msun/src/e_lgammaf.c,v 1.8 2008/02/22 02:30:35 das Exp $");
      18                 :             : 
      19                 :             : /* __ieee754_lgammaf(x)
      20                 :             :  * Return the logarithm of the Gamma function of x.
      21                 :             :  *
      22                 :             :  * Method: call __ieee754_lgammaf_r
      23                 :             :  */
      24                 :             : 
      25                 :             : #include <openlibm_math.h>
      26                 :             : 
      27                 :             : #include "math_private.h"
      28                 :             : 
      29                 :             : OLM_DLLEXPORT float
      30                 :          22 : __ieee754_lgammaf(float x)
      31                 :             : {
      32                 :             : #ifdef OPENLIBM_ONLY_THREAD_SAFE
      33                 :             :         int signgam;
      34                 :             : #endif
      35                 :             : 
      36                 :          22 :         return __ieee754_lgammaf_r(x,&signgam);
      37                 :             : }
        

Generated by: LCOV version 2.0-115.g950771e