Added validation member to BaseDoubleMin and macro in ComputeDoubleMin