If we refer to the Minimum of a set of numbers, we mean the lowest number. Min(12, 7, 18) = 7 and Min(5, -8) = -8.
Is there a technical term for the 'number closest to zero'? e.g. where fn(5, -8) = 5 and fn(-5, 8) = -5
Similarly, what would be the opposite be (e.g 'number farthest from zero')?
I am aware that there are two solutions in some situations, e.g. fn(5, -5) and that any application of this would have to bear that in mind. However, this question is just about whether or not there is some existing terminology for this function.
SmallestandLargestbut they seemed a bit informal which is what prompted me to ask this question. – HappyDog May 13 '21 at 10:14"distance" or "unsigned distance"- That just leads me to ask 'distance from what?' It would probably need to be 'minimum distance from zero' in order for it to be clear, which is a bit of a mouthful. – HappyDog May 13 '21 at 10:18