Skip to content

Commit 7ad89e5

Browse files
committed
Use isnan and isinf from std::
1 parent dfcaa1b commit 7ad89e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp8266/Arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ void optimistic_yield(uint32_t interval_us);
249249

250250
using std::min;
251251
using std::max;
252+
using std::isinf;
253+
using std::isnan;
252254

253255
#define _min(a,b) ((a)<(b)?(a):(b))
254256
#define _max(a,b) ((a)>(b)?(a):(b))

0 commit comments

Comments
 (0)