%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/go/misc/cgo/test/testdata/issue9510b/
Upload File :
Create Path :
Current File : //usr/local/go/misc/cgo/test/testdata/issue9510b/b.go

package issue9510b

/*
static double csquare(double a, double b) {
	__complex__ double d;
	__real__ d = a;
	__imag__ d = b;
	return __real__ (d * d);
}
*/
import "C"

func F(a, b float64) float64 {
	return float64(C.csquare(C.double(a), C.double(b)))
}

Zerion Mini Shell 1.0