Conversion from C to VBAYou're right - there is an extra ) after theta in the original C code (of which I only have a hardco...
Conversion from C to VBAThe full if statement is as follows: if(fabs((double)theta > 1.) theta = (theta > 0.) ? 1. : -...
Conversion from C to VBAWhy is the redefinition of theta ("(double)") being used in the following line of code when theta ha...
Conversion from C to VBAThe End If is necessary in VBA when there are 2 or more statements following the original if - then.
Conversion from C to VBAI am attempting to convert the following C code (being run on Solaris) to VBA for use in Excel for t...