On 2025-08-28 19:37, Tim Düsterhus wrote:
If it weren't living in the Random extension, that very Enum could have been used.There's precedent in ext/random with the Randomizer::getFloat() method that takes a Random\IntervalBoundary enum to decide on the the interpretation of the boundary values. Translated to `clamp()` this could mean: