static float abs(float f) { ret Math.abs(f); } static int abs(int i) { ret Math.abs(i); } static double abs(double d) { ret Math.abs(d); } ifclass Complex static double abs(Complex c) { ret c.abs(); } endif