I already did this with Mathematica v6 to help me understand the Fortran IV function, and the only way I found was to systematically replace Fortran constructs with Mathematica manually. Although not necessary in your case, Mathematica has Gotoand Label. For longer functions, this requires some discipline, but doable. In your case, the translation is quite simple; it's simple
Exp[ -0.5*(deltaw/delta)^2]
By the way, in your code (delta_w/delta)*(delta_w/delta)you can simplify to (delta_w/delta)**2.
, v8, Wolfram LibraryLink Mathematica. , C, , , , , . , , .