Esempio n. 1
0
func Doublefact(n uint32) float64 {
	return float64(C.gsl_sf_doublefact(C.uint(n)))
}
Esempio n. 2
0
/* n!! = n(n-2)(n-4) ...
 *
 */
func DoubleFact(n uint32) (r float64) {
	r = float64(C.gsl_sf_doublefact(C.uint(n)))
	return r
}