Skip to content

Commit

Permalink
Use isnan and isinf from std::
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Nov 5, 2017
1 parent dfcaa1b commit 7ad89e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ void optimistic_yield(uint32_t interval_us);

using std::min;
using std::max;
using std::isinf;
using std::isnan;

#define _min(a,b) ((a)<(b)?(a):(b))
#define _max(a,b) ((a)>(b)?(a):(b))
Expand Down

0 comments on commit 7ad89e5

Please sign in to comment.