mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
This commit is contained in:
parent
e52cead22b
commit
a7902e26a0
1 changed files with 2 additions and 1 deletions
|
|
@ -14,10 +14,11 @@ CONSOLE_APP_MAIN
|
||||||
memcpy(&x, &n, 8);
|
memcpy(&x, &n, 8);
|
||||||
if(std::isfinite(x)) {
|
if(std::isfinite(x)) {
|
||||||
count++;
|
count++;
|
||||||
double y = ScanDouble(FormatDouble(x));
|
double y = ScanDouble(FormatG(x, 17));
|
||||||
if(x != y) {
|
if(x != y) {
|
||||||
RLOG("ERROR");
|
RLOG("ERROR");
|
||||||
RDUMP(Sprintf("%.30g", x));
|
RDUMP(Sprintf("%.30g", x));
|
||||||
|
RDUMP(Sprintf("%.30g", y));
|
||||||
RDUMP(x);
|
RDUMP(x);
|
||||||
RDUMP(y);
|
RDUMP(y);
|
||||||
RDUMP(count);
|
RDUMP(count);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue