Skip to content

Commit a65cdc7

Browse files
committed
test
1 parent 6159aa4 commit a65cdc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/engine/framework/System.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,13 @@ static void SetFloatingPointExceptions()
359359
_controlfp_s(&current, exceptions, _MCW_EM);
360360
#endif
361361
#endif
362+
// TODO: remove it.
363+
#if 1
364+
const float x = -1.0f;
365+
const float f = 0.0f;
366+
printf("y = %f\n",sqrt(x));
367+
printf("y = %f\n",1/f);
368+
#endif
362369
}
363370

364371
// Common code for fatal and non-fatal exit

0 commit comments

Comments
 (0)