SIGN IN SIGN UP

Reduce `min()`, `max()` and `clamp()` with number arguments (#1131)

- Add support for `Calc::Number` in reduce_args to simplify `min()/max()/clamp()`
  with plain number arguments (e.g., `min(1, 2, 3) => min(1, 2)`)
- Extend clamp() parsing to handle Number comparisons (e.g.,
  `clamp(0, 255, 300) => 255`)

Fixed: #1044, #1129
一丝 committed
9cff098593d1232ecb598fcbbe30a01fe8852560
Parent: 085215e
Committed by GitHub <noreply@github.com> on 1/20/2026, 3:12:01 AM