btw nan is equal to nothing below or above it and inf's square root is equal to nan because when you do square roots theres negative numbers and positive numbers but since inf is positive it turns into a negative/nan so dont make the mistake i explained