Skip to content

Commit

Permalink
Merge pull request #262 from visitorckw/remove-unused-float-function
Browse files Browse the repository at this point in the history
Remove unused 'isnanf' and 'isinff' functions
  • Loading branch information
jserv authored Nov 11, 2023
2 parents 531ad51 + 45bf7e2 commit 66fdca7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@
#if RV32_HAS(EXT_F)
#include <math.h>
#include "softfloat.h"

#if defined(__APPLE__)
static inline int isinff(float x)
{
return __builtin_fabsf(x) == __builtin_inff();
}
static inline int isnanf(float x)
{
return x != x;
}
#endif
#endif /* RV32_HAS(EXT_F) */

#if RV32_HAS(GDBSTUB)
Expand Down

0 comments on commit 66fdca7

Please sign in to comment.