func_code_string: #include <bits/stdc++.h>   using namespace std;   double mod(double a, double b) {     long long int val = a / b;     return a - val * b;   }   int32_t main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     double a, b, m, vx, vy, vz;     cin >> a >> b >> m >> vx >> vy >> vz;     double sx, sy, sz, t, x0, y0;     t = -m / vy;     sx = abs(vx * t);     sz = vz * t;     long long int val;     if (sx > (3 * a) / 2) {       sx -= (3 * a) / 2;       val = sx / (a);       if (val % 2 == 0)         x0 = mod(sx, a);       else         x0 = a - mod(sx, a);     } else if (sx <= a / 2)       x0 = a / 2 + sx;     else       x0 = a - (sx - a / 2);     if (vx < 0) x0 = a - x0;     val = sz / (b);     if (val % 2 == 0)       y0 = mod(sz, b);     else       y0 = b - mod(sz, b);     cout << fixed << setprecision(10) << x0 <<     << y0;   }   