xxxxxxxxxx
struct S {
int x,y;
double f() {
import std.math : sqrt;
return sqrt(cast(double)x*x + y);
}
}
void main()
{
auto s = S(12, -135);
import core.stdc.stdio;
printf("%f\n", s.f());
}