Structs§
- IntStrategy
- Value tree for signed ints (up to int256). The strategy combines 3 different strategies, each assigned a specific weight:
- IntValue
Tree - Value tree for signed ints (up to int256).
Functions§
- clamp
- Clamps a signed integer to the range [-(max+1), max] to match real signed type ranges. For example, i128 range is [-2^127, 2^127-1], not [-2^127+1, 2^127-1].