Added check for NAN definitions for C++11 FP functions

This commit is contained in:
John Wellbelove 2023-12-05 09:53:47 +00:00
parent 0f7fa6ecdf
commit 8aa799a3cb
7 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "Embedded Template Library - Arduino",
"version": "20.38.4",
"version": "20.38.7",
"authors": {
"name": "John Wellbelove",
"email": "john.wellbelove@etlcpp.com"

View File

@ -1,5 +1,5 @@
name=Embedded Template Library - Arduino
version=20.38.4
version=20.38.7
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
license=MIT

View File

@ -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
@ -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
@ -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

View File

@ -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)

View File

@ -1,6 +1,6 @@
{
"name": "Embedded Template Library",
"version": "20.38.7",
"version": "20.38.8",
"authors": {
"name": "John Wellbelove",
"email": "john.wellbelove@etlcpp.com"

View File

@ -1,5 +1,5 @@
name=Embedded Template Library
version=20.38.7
version=20.38.8
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
license=MIT

View File

@ -1 +1 @@
20.38.7
20.38.8