Boundary code generation now uses the correct floating point type and no longer declares unused variables.