Function spdl::core::is_within_window¶
Defined in File rational_utils.h
Function Documentation¶
-
bool spdl::core::is_within_window(const Rational &val, const Rational &start, const Rational &end)¶
Check if a rational value falls within a time window.
Tests if a value is within the half-open interval [start, end).
- Parameters:
val – Value to test.
start – Window start (inclusive).
end – Window end (exclusive).
- Returns:
true if start <= val < end, false otherwise.