You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
674 B

Index: src/num_get_float.cpp
--- src/num_get_float.cpp.orig 2008-12-10 10:56:51 +0100
+++ src/num_get_float.cpp 2010-01-11 20:32:54 +0100
@@ -866,8 +866,6 @@
__string_to_float(const __iostring& v, long double& val) {
#if !defined (__linux__) && !defined (__MINGW32__) && !defined (__CYGWIN__) && \
!defined (__BORLANDC__) && !defined (__DMC__) && !defined (__HP_aCC)
- //The following function is valid only if long double is an alias for double.
- _STLP_STATIC_ASSERT( sizeof(long double) <= sizeof(double) )
val = _Stl_string_to_double(v.c_str());
#else
val = _Stl_string_to_doubleT<long double,ieee854_long_double,16,IEEE854_LONG_DOUBLE_BIAS>(v.c_str());