mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
1.0.8 Statistic
This commit is contained in:
parent
023af681a4
commit
6391a6afcc
@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [1.0.8] - 2024-08-27
|
||||||
|
- Merged #23, compilation error on C++17 or later (kudos to toge)
|
||||||
|
|
||||||
## [1.0.7] - 2024-08-20
|
## [1.0.7] - 2024-08-20
|
||||||
- Fix #21, add **getCoefficientOfVariation()**
|
- Fix #21, add **getCoefficientOfVariation()**
|
||||||
- update readme.md
|
- update readme.md
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// modified at 0.3 by Gil Ross at physics dot org
|
// modified at 0.3 by Gil Ross at physics dot org
|
||||||
// template version 1.0.0 by Glen Cornell
|
// template version 1.0.0 by Glen Cornell
|
||||||
// VERSION: 1.0.7
|
// VERSION: 1.0.8
|
||||||
// PURPOSE: Recursive Statistical library for Arduino
|
// PURPOSE: Recursive Statistical library for Arduino
|
||||||
// HISTORY: See CHANGELOG.md
|
// HISTORY: See CHANGELOG.md
|
||||||
//
|
//
|
||||||
@ -37,7 +37,7 @@
|
|||||||
// and HAVE_STDCXX_CSTDINT feature macros in your build environment.
|
// and HAVE_STDCXX_CSTDINT feature macros in your build environment.
|
||||||
|
|
||||||
|
|
||||||
#define STATISTIC_LIB_VERSION (F("1.0.7"))
|
#define STATISTIC_LIB_VERSION (F("1.0.8"))
|
||||||
|
|
||||||
|
|
||||||
#if defined(__AVR__)
|
#if defined(__AVR__)
|
||||||
@ -72,11 +72,13 @@ namespace std {
|
|||||||
|
|
||||||
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
|
#if HAVE_STDCXX_CMATH || defined(_GLIBCXX_CMATH)
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#if not defined(__cplusplus) || __cplusplus < 201703L
|
||||||
// substitute for std::sqrtf function, patch for issue #13
|
// substitute for std::sqrtf function, patch for issue #13
|
||||||
#undef sqrtf
|
#undef sqrtf
|
||||||
namespace std {
|
namespace std {
|
||||||
inline float sqrtf(float n) { return __builtin_sqrtf(n); }
|
inline float sqrtf(float n) { return __builtin_sqrtf(n); }
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
// substitute for std::sqrt functions if not in your tool chain
|
// substitute for std::sqrt functions if not in your tool chain
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/Statistic.git"
|
"url": "https://github.com/RobTillaart/Statistic.git"
|
||||||
},
|
},
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=Statistic
|
name=Statistic
|
||||||
version=1.0.7
|
version=1.0.8
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Library with basic statistical functions for Arduino.
|
sentence=Library with basic statistical functions for Arduino.
|
||||||
|
Loading…
Reference in New Issue
Block a user