Example #1
0
func Sin(f float64) float64 {
	return float64(C.sin(C.double(f)))
}
Example #2
0
File: e2.go Project: haasn/go-gb
func CSin(x float64) (y float64) {
	y = float64(C.sin(_Ctype_double(x)))
	return
}