Skip to content

Commit

Permalink
Added check for NAN definitions for C++11 FP functions
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Dec 5, 2023
1 parent 0f7fa6e commit 8aa799a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion arduino/library-arduino.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Embedded Template Library - Arduino",
"version": "20.38.4",
"version": "20.38.7",
"authors": {
"name": "John Wellbelove",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion arduino/library-arduino.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Embedded Template Library - Arduino
version=20.38.4
version=20.38.7
author= John Wellbelove <[email protected]>
maintainer=John Wellbelove <[email protected]>
license=MIT
Expand Down
6 changes: 3 additions & 3 deletions include/etl/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace etl
//***************************************************************************
// is_nan
//***************************************************************************
#if ETL_USING_CPP11
#if ETL_USING_CPP11 && !defined(ETL_NO_CPP_NAN_SUPPORT)
template <typename T>
ETL_CONSTEXPR
typename etl::enable_if<etl::is_floating_point<T>::value, bool>::type
Expand Down Expand Up @@ -80,7 +80,7 @@ namespace etl
//***************************************************************************
// is_infinity
//***************************************************************************
#if ETL_USING_CPP11
#if ETL_USING_CPP11 && !defined(ETL_NO_CPP_NAN_SUPPORT)
template <typename T>
ETL_CONSTEXPR
typename etl::enable_if<etl::is_floating_point<T>::value, bool>::type
Expand Down Expand Up @@ -112,7 +112,7 @@ namespace etl
//***************************************************************************
// is_zero
//***************************************************************************
#if ETL_USING_CPP11
#if ETL_USING_CPP11 && !defined(ETL_NO_CPP_NAN_SUPPORT)
template <typename T>
ETL_CONSTEXPR
typename etl::enable_if<etl::is_floating_point<T>::value, bool>::type
Expand Down
2 changes: 1 addition & 1 deletion include/etl/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SOFTWARE.

#define ETL_VERSION_MAJOR 20
#define ETL_VERSION_MINOR 38
#define ETL_VERSION_PATCH 7
#define ETL_VERSION_PATCH 8

#define ETL_VERSION ETL_STRING(ETL_VERSION_MAJOR) "." ETL_STRING(ETL_VERSION_MINOR) "." ETL_STRING(ETL_VERSION_PATCH)
#define ETL_VERSION_W ETL_WIDE_STRING(ETL_VERSION_MAJOR) L"." ETL_WIDE_STRING(ETL_VERSION_MINOR) L"." ETL_WIDE_STRING(ETL_VERSION_PATCH)
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Embedded Template Library",
"version": "20.38.7",
"version": "20.38.8",
"authors": {
"name": "John Wellbelove",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Embedded Template Library
version=20.38.7
version=20.38.8
author= John Wellbelove <[email protected]>
maintainer=John Wellbelove <[email protected]>
license=MIT
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.38.7
20.38.8

0 comments on commit 8aa799a

Please sign in to comment.