-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone Fixes #403
Standalone Fixes #403
Conversation
Hi @mborland thanks for creating this PR for further progress. In our previous thread, you made a comment regarding using a multiprecision type for So you might end up using a class that has not even yet been synthesized in order to build up class-internals? I could be wrong on this one though since i'm not exactly sure how the intent is that you had mentioned. |
Hi @mborland and @jzmaddock The From our previous chat, @jzmaddock mentions...
The modification around line 1272 in There are a handful of other little changes in my branch for warning fixes on conversion and sign conversion (these are optional). My CI in the unrelated project ran green. |
@ckormanyos if you look at the latest commit |
…one_fixes [ci skip]
Hi @mborland. Thank you. Your recent commits eliminate almost all the warnings. For lack of a better communication method, I simply included full warnings under subjection to - The two cases are:
Almost all warnings are gone from your branch with a couple remaining, that I did not, yet at the moment, analyze. DEVELOP BRANCH chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ g++ -Wall -Wextra -pedantic -Os -march=native -std=c++11 -I/mnt/c/boost/modular_boost/boost/libs/multiprecision/include -I/mnt/c/boost/modular_boost/boost/libs/math/include -I/mnt/c/boost/modular_boost/boost/libs/config/include ./test.cpp -o test.exe
In file included from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/number_base.hpp:18,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/is_variable_precision.hpp:9,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/precision.hpp:9,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/number.hpp:11,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/cpp_dec_float.hpp:29,
from ./test.cpp:61:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:31:18: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
31 | struct is_signed<__int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:33:27: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
33 | struct is_signed<unsigned __int128> : public std::integral_constant<bool, false> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:35:20: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
35 | struct is_unsigned<__int128> : public std::integral_constant<bool, false> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:37:29: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
37 | struct is_unsigned<unsigned __int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:39:20: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
39 | struct is_integral<__int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:41:29: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
41 | struct is_integral<unsigned __int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:43:22: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
43 | struct is_arithmetic<__int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:45:31: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
45 | struct is_arithmetic<unsigned __int128> : public std::integral_constant<bool, true> {};
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:47:22: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
47 | struct make_unsigned<__int128>
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:49:26: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
49 | using type = unsigned __int128;
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:52:31: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
52 | struct make_unsigned<unsigned __int128>
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:54:26: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
54 | using type = unsigned __int128;
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:57:20: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
57 | struct make_signed<__int128>
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:59:17: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
59 | using type = __int128;
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:62:29: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
62 | struct make_signed<unsigned __int128>
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp:64:17: warning:
ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
64 | using type = __int128;
| ^~~~~~~~
In file included from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/generic_interconvert.hpp:9,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/number.hpp:12,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/cpp_dec_float.hpp:29,
from ./test.cpp:61:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/default_ops.hpp: In function ‘void boost::multiprecision::default_ops::eval_karatsuba_sqrt(Backend&, const Backend&, Backend&, Backend&, size_t)’:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/default_ops.hpp:1691:25: warning: ISO C++ does not support ‘__int128’ for ‘a’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/default_ops.hpp:1691:30: warning: ISO C++ does not support ‘__int128’ for ‘b’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/default_ops.hpp:1691:35: warning: ISO C++ does not support ‘__int128’ for ‘c’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
In file included from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/number.hpp:16,
from /mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/cpp_dec_float.hpp:29,
from ./test.cpp:61:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp: At global scope:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp:23:49: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
23 | std::size_t hash_value(const unsigned __int128& val);
| ^~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp:25:47: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
25 | inline std::size_t hash_value(const __int128& val)
| ^~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp: In function ‘std::size_t boost::multiprecision::detail::hash_value(const __int128&)’:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp:27:43: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
27 | return hash_value(static_cast<unsigned __int128>(val));
| ^~~~~~~~
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp: At global scope:
/mnt/c/boost/modular_boost/boost/libs/multiprecision/include/boost/multiprecision/detail/hash.hpp:44:56: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
44 | inline std::size_t hash_value(const unsigned __int128& val)
| ^~~
chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ STANDALONE BRANCH chris@DESKTOP-Q6SS99B:~$ cd /mnt/c/Users/User/Documents/Ks/PC_Software/Test
chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ g++ -Wall -Wextra -pedantic -Os -march=native -std=c++11 -I/mnt/c/boost/boost_multiprecision_standalone/include -I/mnt/c/boost/modular_boost/boost/libs/math/include -I/mnt/c/boost/modular_boost/boost/libs/config/include ./test.cpp -o test.exe
In file included from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/generic_interconvert.hpp:9,
from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/number.hpp:12,
from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_dec_float.hpp:29,
from ./test.cpp:61:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/default_ops.hpp: In function ‘void boost::multiprecision::default_ops::eval_karatsuba_sqrt(Backend&, const Backend&, Backend&, Backend&, size_t)’:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/default_ops.hpp:1691:25: warning: ISO C++ does not support ‘__int128’ for ‘a’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/default_ops.hpp:1691:30: warning: ISO C++ does not support ‘__int128’ for ‘b’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/default_ops.hpp:1691:35: warning: ISO C++ does not support ‘__int128’ for ‘c’ [-Wpedantic]
1691 | unsigned __int128 a{}, b{}, c{};
| ^
In file included from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/number.hpp:16,
from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_dec_float.hpp:29,
from ./test.cpp:61:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp: At global scope:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp:23:49: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
23 | std::size_t hash_value(const unsigned __int128& val);
| ^~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp:25:47: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
25 | inline std::size_t hash_value(const __int128& val)
| ^~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp: In function ‘std::size_t boost::multiprecision::detail::hash_value(const __int128&)’:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp:27:43: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
27 | return hash_value(static_cast<unsigned __int128>(val));
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp: At global scope:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/hash.hpp:44:56: warning: ISO C++ does not support ‘__int128’ for ‘val’ [-Wpedantic]
44 | inline std::size_t hash_value(const unsigned __int128& val)
| ^~~
chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ |
[ci skip]
Thnks @mborland. Sorry Matt, I missed a few I have found the following shown below for STANDALONE BRANCH with chris@DESKTOP-Q6SS99B:~$ cd /mnt/c/Users/User/Documents/Ks/PC_Software/Test
chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ g++ -Wall -Wextra -pedantic -Os -march=native -std=c++11 -I/mnt/c/boost/boost_multiprecision_standalone/include -I/mnt/c/boost/modular_boost/boost/libs/math/include -I/mnt/c/boost/modular_boost/boost/libs/config/include ./test.cpp -o test.exe
chris@DESKTOP-Q6SS99B:/mnt/c/Users/User/Documents/Ks/PC_Software/Test$ g++ -Wall -Wextra -pedantic -Os -march=native -std=c++11 -I/mnt/c/boost/boost_multiprecision_standalone/include -I/mnt/c/boost/modular_boost/boost/libs/math/include -I/mnt/c/boost/modular_boost/boost/libs/config/include ./test.cpp -o test.exe
./test.cpp:10:1: warning: multi-line comment [-Wcomment]
10 | //TGT_INCLUDES = -IC:/boost/modular_boost/boost/libs/multiprecision/include \
| ^
In file included from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/endian.hpp:9,
from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int.hpp:14,
from /mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_bin_float.hpp:11,
from ./test.cpp:60:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp: In function ‘constexpr T boost::multiprecision::backends::detail::type_max()’:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:25: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:29:65: note: in expansion of macro ‘INT128_MAX’
29 | std::is_same<T, boost::multiprecision::int128_type>::value ? INT128_MAX :
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:47: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:29:65: note: in expansion of macro ‘INT128_MAX’
29 | std::is_same<T, boost::multiprecision::int128_type>::value ? INT128_MAX :
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:88:41: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
88 | # define UINT128_MAX ((2 * (unsigned __int128) INT128_MAX) + 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:30:66: note: in expansion of macro ‘UINT128_MAX’
30 | std::is_same<T, boost::multiprecision::uint128_type>::value ? UINT128_MAX :
| ^~~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:25: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:88:51: note: in expansion of macro ‘INT128_MAX’
88 | # define UINT128_MAX ((2 * (unsigned __int128) INT128_MAX) + 1)
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:30:66: note: in expansion of macro ‘UINT128_MAX’
30 | std::is_same<T, boost::multiprecision::uint128_type>::value ? UINT128_MAX :
| ^~~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:47: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:88:51: note: in expansion of macro ‘INT128_MAX’
88 | # define UINT128_MAX ((2 * (unsigned __int128) INT128_MAX) + 1)
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:30:66: note: in expansion of macro ‘UINT128_MAX’
30 | std::is_same<T, boost::multiprecision::uint128_type>::value ? UINT128_MAX :
| ^~~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp: In function ‘constexpr T boost::multiprecision::backends::detail::type_min()’:
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:25: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:85:26: note: in expansion of macro ‘INT128_MAX’
85 | # define INT128_MIN (-INT128_MAX - 1)
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:40:65: note: in expansion of macro ‘INT128_MIN’
40 | std::is_same<T, boost::multiprecision::int128_type>::value ? INT128_MIN :
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:82:47: warning: ISO C++ does not support ‘__int128’ for ‘type name’ [-Wpedantic]
82 | # define INT128_MAX (__int128) (((unsigned __int128) 1 << ((__SIZEOF_INT128__ * __CHAR_BIT__) - 1)) - 1)
| ^~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/detail/standalone_config.hpp:85:26: note: in expansion of macro ‘INT128_MAX’
85 | # define INT128_MIN (-INT128_MAX - 1)
| ^~~~~~~~~~
/mnt/c/boost/boost_multiprecision_standalone/include/boost/multiprecision/cpp_int/checked.hpp:40:65: note: in expansion of macro ‘INT128_MIN’
40 | std::is_same<T, boost::multiprecision::int128_type>::value ? INT128_MIN :
| ^~~~~~~~~~ |
Hi folks, this is moving along well. There are several issues I'd like to highlight and get feedback on.
Thoughts... Suggestions... ? Cc: @mborland and @jzmaddock and @NAThompson |
@ckormanyos I am working on re-writing |
Great! Thanks @mborland. As soon as this is/will be running, I think we have a really good standpoint on standalone. Optionally... I will take a look at remaining Again, this stuff is mostly optional and not needed for standalone (with the exception of the The higher conversin warnings and string-streaming investigations are not required but I will try to find a chance to look into them anyway. |
Hi @mborland I did a quick check of bin-float, dec-float, gmp-float and mpfr-float. Many thanks. I find in this quick check that the all formerly remaining |
Hi @mborland we might want to merge from develop again. We observe that @jzmaddock is excellently handling issue-after-issue. When I merged develop over to my It might be easier to merge to |
@jzmaddock Good call. Ran the new
Will fix the gmp_int conversions. |
@ckormanyos Do you see any large or outstanding issues that we should address here? CI is back to green with all these changes. |
This is great @mborland !
Functionally, all is OK. One thing you might want, ... or freely choose to disregard... I just did commit (via ci skip in my It's your choice if you'd like to look at and potentially accept these corrections to conversoin warnings or not. If not, I am good to go at this point with the excellent state we have reached. If we decide to accept my corrections to conversoin warnings in Multiprecision, there is an associated little list of changes needed in Math that I can also present. Cc: @jzmaddock |
Ummm... Alternatively, we could merge to develop immediately. If I would want to to work on elevated warning levels on certain compilers, I should be happy to do that in future branches. This would be more consistent with the topic of this PR which is going standalone. @mborland and @jzmaddock thoughts...? Cc: @NAThompson |
ss >> d; | ||
|
||
return d; | ||
return std::strtod(str(std::numeric_limits<double>::digits10 + (2 + 1), std::ios_base::scientific).c_str(), nullptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pain in the butt, but can you check that this doesn't re-awaken this issue: #167. The problem is that the global locale can sometimes interpret strings in mighty weird ways :(
+1, otherwise the diffs get too big! |
Done. Merged to develop. Review comments to be handled in a future PR. |
OK, but some of those look like proper breakages to me. |
Uggghhh. Sorry that was not the intent and I had not realized that. I guess my intensity in the drive toward standalone got the better of me. I'd need help on some of those details. @mborland and @jzmaddock should we move forward with next PR or should I revert the changes? Sorry for any disruption I caused. |
I think I would vote for reverting.
No worries! |
@ckormanyos I go on holiday starting tonight so I concur with reverting the merge. |
OK. Agreed. With one episode of back and forth, I have reverted to 75b17b9 This includes John's fix of #407 but reverts my recent commit/push from Matt's standalone_fixes branch. Due to the one episode of back-and-forth, I inadvertently fired off three CI runs. I was a bit shaky on the revert syntax, but i'm pretty sure I hit the right commit now. Could you please check @mborland and @jzmaddock ? Thank you. |
OK, Cool --- back on track. Thanks John. Thanks Matt. Let's pick this up maybe after the holidays where we left off... |
…one_fixes"" This reverts commit 04b327b.
…one_fixes"" This reverts commit 04b327b.
Moves the discussion from the now merged #386