mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	| @@ -188,9 +188,10 @@ namespace Floating { | |||||||
|             ret << ", "; |             ret << ", "; | ||||||
|             write(ret, step(m_target, static_cast<double>( INFINITY), m_ulps)); |             write(ret, step(m_target, static_cast<double>( INFINITY), m_ulps)); | ||||||
|         } else { |         } else { | ||||||
|             write(ret, step(static_cast<float>(m_target), -INFINITY, m_ulps)); |             // We have to cast INFINITY to float because of MinGW, see #1782 | ||||||
|  |             write(ret, step(static_cast<float>(m_target), static_cast<float>(-INFINITY), m_ulps)); | ||||||
|             ret << ", "; |             ret << ", "; | ||||||
|             write(ret, step(static_cast<float>(m_target),  INFINITY, m_ulps)); |             write(ret, step(static_cast<float>(m_target), static_cast<float>( INFINITY), m_ulps)); | ||||||
|         } |         } | ||||||
|         ret << "])"; |         ret << "])"; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský