pathscale compiler doesn't like function calls in parameter declarations (need to use _cvmix_r8 instead of real())