Very crude method:
float eMod_d1; sscanf("2e+020","%e",&eMod_d1);
float eMod_d2; sscanf("20","%e",&eMod_d2);
float eMod_d3; sscanf("0.01","%e",&eMod_d3);
No comments:
Post a Comment