Revert 0.7.6 code for 0.7.5 re-release

This commit is contained in:
Christoffer Lerno
2025-09-05 18:41:41 +02:00
parent c375aef9a3
commit d1349c9cfb
63 changed files with 796 additions and 1148 deletions

View File

@@ -252,8 +252,8 @@ macro @ceil($input) @const => $$ceil($input);
@return "lower if x < lower, upper if x > upper, otherwise return x."
@require types::is_numerical($typeof(x)) : `The input must be a numerical value or numerical vector`
@require $defined(x = lower) : `The lower bound must be convertible to the value type.`
@require $defined(x = upper) : `The upper bound must be convertible to the value type.`
@require $defined(x = lower) : `The lower bound must be convertable to the value type.`
@require $defined(x = upper) : `The upper bound must be convertable to the value type.`
*>
macro clamp(x, lower, upper) => $$max(($typeof(x))lower, $$min(x, ($typeof(x))upper));