Concision.
Use vector-aware min, max.
Attempt macro v-* definitions for speed.
Apply function version of v-if.
Annotate with double arguments.
Output formatting.