User profile: phudgens

User info
User name:phudgens
Email:phudgens@denver.oilfield.slb.com
Name:Paul Hudgens
Location:Denver
Bio:An old Fortran programmer, a new C and java programmer.
History
Joined:
Number of posts:5
Latest posts:

Conversion from C to VBA
You're right - there is an extra ) after theta in the original C code (of which I only have a hardco...

Conversion from C to VBA
The full if statement is as follows: if(fabs((double)theta > 1.) theta = (theta > 0.) ? 1. : -...

Conversion from C to VBA
Why is the redefinition of theta ("(double)") being used in the following line of code when theta ha...

Conversion from C to VBA
The End If is necessary in VBA when there are 2 or more statements following the original if - then.

Conversion from C to VBA
I am attempting to convert the following C code (being run on Solaris) to VBA for use in Excel for t...