Skip to content

Commit

Permalink
fix ? symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Oct 7, 2018
1 parent d78bf9d commit 0de8a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Externals/ode/ode/src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void dxProcessIslands (dxWorld *world, dReal stepsize, dstepper_fn_t stepper);
inline bool dValid(const float x)
{
#ifdef MSVC
// check for: Signaling NaN, Quiet NaN, Negative infinity (INF), Positive infinity (+INF), Negative denormalized, Positive denormalized
// check for: Signaling NaN, Quiet NaN, Negative infinity (-INF), Positive infinity (+INF), Negative denormalized, Positive denormalized
int cls = _fpclass (double(x));
if (cls&(_FPCLASS_SNAN+_FPCLASS_QNAN+_FPCLASS_NINF+_FPCLASS_PINF+_FPCLASS_ND+_FPCLASS_PD))
return false;
Expand All @@ -61,7 +61,7 @@ inline bool dValid(const float x)
#endif
/* *****other cases are*****
_FPCLASS_NN Negative normalized non-zero
_FPCLASS_NZ Negative zero (0)
_FPCLASS_NZ Negative zero (-0)
_FPCLASS_PZ Positive 0 (+0)
_FPCLASS_PN Positive normalized non-zero
*/
Expand Down

0 comments on commit 0de8a60

Please sign in to comment.