mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-25 10:00:23 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			633 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			633 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| //  (C) Copyright John Maddock 2012. 
 | |
| //  Use, modification and distribution are subject to the 
 | |
| //  Boost Software License, Version 1.0. (See accompanying file 
 | |
| //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 | |
| 
 | |
| //  See http://www.boost.org/libs/config for most recent version.
 | |
| 
 | |
| //  MACRO:         BOOST_HAS_FLOAT128
 | |
| //  TITLE:         __float128
 | |
| //  DESCRIPTION:   The platform supports __float128.
 | |
| 
 | |
| #include <cstdlib>
 | |
| 
 | |
| 
 | |
| namespace boost_has_float128{
 | |
| 
 | |
| int test()
 | |
| {
 | |
| #ifdef __GNUC__
 | |
|    __extension__ __float128 big_float = 0.0Q;
 | |
| #else
 | |
|    __float128 big_float = 0.0Q;
 | |
| #endif
 | |
|    (void)&big_float;
 | |
|    return 0;
 | |
| }
 | |
| 
 | |
| }
 | |
| 
 |