This commit is contained in:
Mirek Fidler 2021-09-11 11:43:35 +02:00
parent e52cead22b
commit a7902e26a0

View file

@ -14,10 +14,11 @@ CONSOLE_APP_MAIN
memcpy(&x, &n, 8);
if(std::isfinite(x)) {
count++;
double y = ScanDouble(FormatDouble(x));
double y = ScanDouble(FormatG(x, 17));
if(x != y) {
RLOG("ERROR");
RDUMP(Sprintf("%.30g", x));
RDUMP(Sprintf("%.30g", y));
RDUMP(x);
RDUMP(y);
RDUMP(count);