in response to ER-506: fixed double v=0.0d; by removing d

typo, luckily newer gcc don't mind the binary double suffix on a 0.0;