gitee.com/quant1x/num@v0.3.2/math32/lgamma.go (about)

     1  package math32
     2  
     3  import "math"
     4  
     5  func Lgamma(x float32) (lgamma float32, sign int) {
     6  	lg, sign := math.Lgamma(float64(x))
     7  	return float32(lg), sign
     8  }