1 2 3 4
# Safety MUSNT call this function with [`NAN`] | [`INF`]. This function WILL assume the inputs are finite.