p.print(ident); p.print("f");
if (Utils.mathMethodRequiresFloatPrefix(prefix, ident)) { p.print("f"); p.print(ident); } else { p.print(ident); p.print("f"); }
    public void visitMethodCallExpression(JMethodCallExpression self,                                          JExpression prefix, String ident, JExpression[] args) {        //        if (PRINT_MSG_PARAM > -1) {        //            visitArgs(args, 0);        //            return;        //        }        /*         * if (ident != null && ident.equals(JAV_INIT)) { return; // we do not         * want generated methods in source code }         */        // generate the inline asm instruction to execute the        // receive if this is a receive instruction        if (ident.equals(RawExecutionCode.receiveMethod)) {            // Do not generate this!            /*             * p.print(Util.staticNetworkReceivePrefix()); visitArgs(args,0);             * p.print(Util.staticNetworkReceiveSuffix(args[0].getType()));             */            return;        }        if (prefix instanceof JTypeNameExpression) {            JTypeNameExpression nexp = (JTypeNameExpression) prefix;            String name = nexp.getType().toString();            if (!name.equals("java.lang.Math"))                p.print(name + "_");        }        //we want single precision versions of the math functions        boolean wrapping = false;        if (Utils.isMathMethod(prefix, ident)) {            // also insert profiling code for math functions            wrapping = true;            super.beginWrapper("FUNC_" + ident.toUpperCase());            p.print(ident);            p.print("f");        } else {            p.print(ident);        }        if (!Utils.isMathMethod(prefix, ident) && ident.indexOf("::") == -1) {            // don't rename the built-in math functions            // don't rename calls to static functions            if (method_names.contains(ident))                p.print("__" + selfID);        }        p.print("(");        // if this method we are calling is the call to a structure        // receive method that takes a pointer, we have to add the        // address of operator        if (ident.startsWith(RawExecutionCode.structReceiveMethodPrefix))            p.print("&");        int i = 0;        /*         * Ignore prefix, since it's just going to be a Java class name. if         * (prefix != null) { prefix.accept(this); i++; }         */        visitArgs(args, i);        p.print(")");        // close any profiling code we might have started        if (wrapping) {            super.endWrapper();        }    }