add xche to supports list ...

This commit is contained in:
2025-01-13 09:33:02 +03:30
parent 83694f54ff
commit 218dda0a72
14 changed files with 4021 additions and 414 deletions
+38 -12
View File
@@ -6139,14 +6139,26 @@ bool IsUnder(
//
// Check if a Value Increasing in Loopback ...
bool IsIncreasing(
const int from, // Last Time Index
const int to, // Fisrs Tima Index
const double &buffer[] // the Buffer which required to search
const double &buffer[], // the Buffer which required to search
int from = -1, // Last Time Index
int to = -1 // Fisrs Tima Index
)
{
//
bool result = false;
//
if (from == -1)
{
from = ArraySize(buffer) - 1;
}
//
if (to == -1)
{
to = 0;
}
//
// Validate Args ...
if (
@@ -6160,7 +6172,7 @@ bool IsIncreasing(
// Loop through Items ...
double toValue = buffer[to];
double fromValue = buffer[from];
result = toValue > fromValue;
result = toValue >= fromValue;
for (int i = to + 1; i <= from - 1; i++)
{
//
@@ -6169,9 +6181,10 @@ bool IsIncreasing(
//
bool isIIncreasing = IsIncreasing(
buffer,
from,
i,
buffer);
i //
);
//
// Check Result ...
@@ -6189,14 +6202,26 @@ bool IsIncreasing(
//
// Check if a Value Decreasing in Loopback ...
bool IsDecreasing(
const int from, // Last Time Index
const int to, // Fisr Tima Index
const double &buffer[] // the Buffer which required to search
const double &buffer[], // the Buffer which required to search
int from = -1, // Last Time Index
int to = -1 // Fisrs Tima Index
)
{
//
bool result = false;
//
if (from == -1)
{
from = ArraySize(buffer) - 1;
}
//
if (to == -1)
{
to = 0;
}
//
// Validate Args ...
if (
@@ -6210,7 +6235,7 @@ bool IsDecreasing(
// Loop through Items ...
double toValue = buffer[to];
double fromValue = buffer[from];
result = toValue < fromValue;
result = toValue <= fromValue;
for (int i = to + 1; i <= from - 1; i++)
{
//
@@ -6219,9 +6244,10 @@ bool IsDecreasing(
//
bool isIDecreasing = IsDecreasing(
buffer,
from,
i,
buffer);
i //
);
//
// Check Result ...