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