Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Dec 5, 2024
1 parent 191f4c1 commit 8417ef8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/engine/framework/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,13 @@ static void SetFloatingPointExceptions()
_controlfp_s(&current, exceptions, _MCW_EM);
#endif
#endif
// TODO: remove it.
#if 1
const float x = -1.0f;
const float f = 0.0f;
printf("%f\n", sqrt(x));
printf(" %f\n", 1/f);
#endif
}

// Common code for fatal and non-fatal exit
Expand Down

0 comments on commit 8417ef8

Please sign in to comment.