Second instance of min/max clamping macros being nested into each other… Completes P0158, funded by Yanga.