Hello,
*** UPDATE***I made some homework and changed the question, to be straight forward.
I run the below code in both Zorro and Microsoft Visual Studio C:
function main(){
double a1 = 0.56434;
double a2 = 0.56506;
printf("\n %.10e", (a1-a2)/a2);
double a3 = 0.58299;
double a4 = 0.56434;
printf("\n %.10e", (a3-a4)/a4);
}
On Zorro I got:
Zorro 2.66.3
(c) oP group Germany 2025
returns compiling........... ok
-1.2742435919e-003
3.3047445653e-002
On VC and a calculator, I got:
-1.2742009698e-03
3.3047453663e-02
It seems that Zorro used
float calculation, it's not clear to me why?
Thanks
David