mirror of
https://github.com/make-42/xyosc
synced 2025-01-19 02:57:34 +01:00
9 lines
148 B
Go
9 lines
148 B
Go
|
package math32
|
||
|
|
||
|
import "math"
|
||
|
|
||
|
func Lgamma(x float32) (lgamma float32, sign int) {
|
||
|
lg, sign := math.Lgamma(float64(x))
|
||
|
return float32(lg), sign
|
||
|
}
|