I want convert something like (*float32) to (*int32)
I do this
var f float32 = 0.0
var p *int32 = (*int32)(&f) // error!
// cannot convert &f (type *float32) to type *int32
How can I do this like what I'm done in C
float f = 0.0;
int *ip = (*int) &fp;