Commit Graph

  • 0e01dc7aaf Fix MSVC warning C4244 Matt Borland 2023-04-20 14:50:00 +02:00
  • 82a0e317f9 Fix MSVC warning C4100 Matt Borland 2023-04-20 14:18:03 +02:00
  • cb5311810a Fix -Wmaybe-unintialized and GCC 4.X -Wmissing-field-initalizers Matt Borland 2023-04-20 14:13:38 +02:00
  • 2c8d787dd4 Remove static assert that only works with C++17 or greater Matt Borland 2023-04-20 13:38:54 +02:00
  • 8dbdf1935e Refactor front end for floats Matt Borland 2023-04-20 13:24:43 +02:00
  • cf02c6ccd3 Change capitalization of exponent character Matt Borland 2023-04-20 13:15:27 +02:00
  • fa45f44a46 Merge pull request #25 from mborland/from_chars_0 Matt Borland 2023-04-19 18:06:21 +02:00
  • 2822297879 Fix alias for cache_format Matt Borland 2023-04-19 17:57:13 +02:00
  • 98605e7a56 Fix MSVC 14.0 warning C4244 Matt Borland 2023-04-19 17:36:06 +02:00
  • 9bf6ea8038 Workaround for MSVC 14.0 broken return type deduction Matt Borland 2023-04-19 17:13:46 +02:00
  • a1494c7dd9 Fix MSVC 14.0 cache redefinition from inline variable Matt Borland 2023-04-19 16:53:23 +02:00
  • 744531fc0a Add test for non-finite values Matt Borland 2023-04-19 16:37:49 +02:00
  • cec750702b Define two cache holders rather than specialize a template struct Matt Borland 2023-04-19 16:12:44 +02:00
  • 08e7b2f06c Fix from_chars float handling of signed zeros Matt Borland 2023-04-19 15:52:20 +02:00
  • 7b5e4cf773 Ignore GCC 4.X -Wmissing-field-initializers Matt Borland 2023-04-19 15:47:28 +02:00
  • e0d3549c1a Ignore MSVC 14.1 C4307 Matt Borland 2023-04-18 16:55:03 +02:00
  • 9ad4f5d0d2 Add default initializer for GCC 4.X and UBSAN Matt Borland 2023-04-18 15:44:21 +02:00
  • 6cf438f6ea Workaround for Clang < 4 return type deduction under C++14 Matt Borland 2023-04-18 14:54:03 +02:00
  • 6c0f8e8e3e Disable warnings C4100 and C4189 Matt Borland 2023-04-18 14:45:32 +02:00
  • 5bcad94877 Fix warning C4244 Matt Borland 2023-04-18 14:38:23 +02:00
  • 40879aa975 Fix warnings C4305 and C4127 Matt Borland 2023-04-18 14:23:08 +02:00
  • e7de79a89d Rename to_chars integer impl Matt Borland 2023-04-18 14:14:59 +02:00
  • f28dfee580 Improve testing diagnostics and ranges Matt Borland 2023-04-18 13:54:21 +02:00
  • e0409c8353 Adjust upper bound on integer printing Matt Borland 2023-04-18 13:11:21 +02:00
  • 92c8f6fcdf Add test to troubleshoot general format failure Matt Borland 2023-04-18 13:04:21 +02:00
  • 4e62c16c78 Add boost.json issue test Matt Borland 2023-04-17 16:16:37 +02:00
  • 599febf90a Remove cruft Matt Borland 2023-04-14 14:39:03 +02:00
  • 4bfbf69db7 Add detection for CXX14 and above features Matt Borland 2023-04-14 14:18:23 +02:00
  • a865d71f04 Replace auto lambda captures Matt Borland 2023-04-14 13:41:46 +02:00
  • f2663ac674 Hardcode policies for C++11 Matt Borland 2023-04-14 13:31:08 +02:00
  • 3ef681f0e4 More C++11 compat Matt Borland 2023-04-13 17:55:12 +02:00
  • 30b2679172 Convert main algo Matt Borland 2023-04-13 16:58:33 +02:00
  • 01faddb259 Replace policy auto return types with template parameters Matt Borland 2023-04-13 16:47:23 +02:00
  • 2c623e8b98 C++11 compat Matt Borland 2023-04-13 16:29:00 +02:00
  • 04750fa246 Add inline variables for C++14 Matt Borland 2023-04-13 14:30:29 +02:00
  • a8e8755bd2 Use enable_if instead of if constexpr Matt Borland 2023-04-13 14:01:58 +02:00
  • 5e43fee74f Change namespaces Matt Borland 2023-04-12 16:15:21 +02:00
  • 96bb503485 Switch on precision rather than format Matt Borland 2023-04-12 14:46:48 +02:00
  • 2084fc08bc Fix C++17 static asserts and structured bindings Matt Borland 2023-04-11 16:26:07 +02:00
  • f3d0d370a3 Replace C++17 type_traits and namespaces Matt Borland 2023-04-11 15:28:55 +02:00
  • 3e674703aa Replace macros and bit layouts Matt Borland 2023-04-11 15:21:36 +02:00
  • 00e2076bf6 Move utilities to common Matt Borland 2023-04-11 15:11:53 +02:00
  • d63f1efde2 Establish common file for dragonbox and floff Matt Borland 2023-04-11 14:41:29 +02:00
  • 1a903ad119 Use dragonbox::to_decimal for values that diverge from printf Matt Borland 2023-04-11 14:04:23 +02:00
  • 34c3d2b4a6 Add dragonbox shortest formatting Matt Borland 2023-04-10 16:20:04 +02:00
  • 766ccde374 Revert uint128 to a struct Matt Borland 2023-04-10 14:00:06 +02:00
  • 7e7a7ec181 Replace anonymous namespaces with templates Matt Borland 2023-04-07 15:48:22 +02:00
  • 1bcb4912b3 Collected formatting changes Matt Borland 2023-04-07 15:12:09 +02:00
  • 67047b4d95 Merge the two emulated128 classes Matt Borland 2023-04-06 17:22:46 +02:00
  • bb111e2974 Const consistency Matt Borland 2023-04-06 16:48:37 +02:00
  • 3402490953 Macro name change Matt Borland 2023-04-06 16:41:29 +02:00
  • a83b37944b Replace C-Style Casts Matt Borland 2023-04-06 16:35:06 +02:00
  • 13b6b3ad6a Replace bit intrinsics with boost/core/bit Matt Borland 2023-04-06 16:11:12 +02:00
  • e766cb6de1 Replace c-style asserts with boost.assert Matt Borland 2023-04-06 16:07:07 +02:00
  • 2bebc3cdac Replace macros with existing boost ones Matt Borland 2023-04-06 15:57:47 +02:00
  • d7b83c4be1 Remove commented out code Matt Borland 2023-04-06 15:44:28 +02:00
  • cbaf8a3d4b Refactor namespaces Matt Borland 2023-04-06 15:17:43 +02:00
  • 802f5b8922 Remove unneeded files Matt Borland 2023-04-06 14:44:14 +02:00
  • 9c704d69ce Fix macro for incorrect tests on Windows Platforms Matt Borland 2023-04-05 17:54:32 +02:00
  • 3c5ff8e600 Fix sign of exponent Matt Borland 2023-04-05 17:28:33 +02:00
  • 27f250a16d Disable tests on platforms where std:::hexfloat performs incorrectly Matt Borland 2023-04-05 17:28:20 +02:00
  • 0791ba8cdf Fix memcpy length Matt Borland 2023-04-05 16:04:47 +02:00
  • c30686ebce Fix logic to remove trailing zeros Matt Borland 2023-04-05 16:04:28 +02:00
  • acbc912c83 Don't print trailing zeros with unspecified precision Matt Borland 2023-04-05 15:15:43 +02:00
  • b0d8e7f389 Simplify hex impl Matt Borland 2023-04-04 17:50:48 +02:00
  • 6c993bfd6b Add denorm mask to bit layouts Matt Borland 2023-04-04 17:50:31 +02:00
  • 232f369c25 Improve handling of edge cases Matt Borland 2023-04-04 16:53:51 +02:00
  • 9fb09e77af Disable use of std::hexfloat on GCC 4.X Matt Borland 2023-04-04 16:08:54 +02:00
  • c09f117431 Fix warning C4244 for float type Matt Borland 2023-03-31 18:12:08 +02:00
  • 3a1286330c Implement to_chars for floats Matt Borland 2023-03-31 17:48:27 +02:00
  • 64a2359461 Fix clang implicit conversion warning Matt Borland 2023-03-31 17:11:29 +02:00
  • 17d778078a Add fixed formatting Matt Borland 2023-03-31 16:11:38 +02:00
  • 0406e0490a Fix -Wsign-compare Matt Borland 2023-03-31 15:10:54 +02:00
  • 5667df7f07 Add testing with string stream Matt Borland 2023-03-30 18:37:33 +02:00
  • be5252acc0 Initial commit of hex formatting Matt Borland 2023-03-30 17:34:13 +02:00
  • d62fd5f027 Additional workaround for latest version of MSVC 14.3 Matt Borland 2023-03-30 16:41:03 +02:00
  • 761a0df7d9 Remove superfluous specialization of main_cache_holder Matt Borland 2023-03-30 16:20:31 +02:00
  • 05aa3c2a2d Workaround for MSVC14.3 gotos in if constexpr blocks Matt Borland 2023-03-29 17:27:13 +02:00
  • 5e72e5deca Workaround for Clang 5 inline variables with C++1z Matt Borland 2023-03-29 16:40:50 +02:00
  • 2c72673444 Disable warning C4702 impacting C++17 and above Matt Borland 2023-03-29 16:06:58 +02:00
  • 348b21ffae Disable warning C4307 impacting 64-bit constants Matt Borland 2023-03-29 15:54:56 +02:00
  • 8c48243bbe Fix warnings C4307 and C4244 Matt Borland 2023-03-29 15:43:46 +02:00
  • 499c5da5cf Disable spurious warning C4100 Matt Borland 2023-03-29 13:47:50 +02:00
  • 5ab1c750e6 Fix additional MSVC 14.0 redefinition warnings Matt Borland 2023-03-28 15:52:37 +02:00
  • 66e31bbe7a Fix conversion and shadowed variable warnings Matt Borland 2023-03-28 15:09:23 +02:00
  • 6cfa4b2946 Fix clang-win missing attribute error Matt Borland 2023-03-28 15:09:01 +02:00
  • 7233388bf1 Fix MSVC 14.0 redefinition warning Matt Borland 2023-03-28 14:50:40 +02:00
  • 9dbcaa293b Fix MSVC warnings Matt Borland 2023-03-28 14:31:37 +02:00
  • 57039055c2 Fix GCC 7 -Werror=noexcept-type and Clang 3.X initialization error Matt Borland 2023-03-28 13:35:34 +02:00
  • bca6833e60 Add BOOST_UNREACHABLE_RETURN Matt Borland 2023-03-28 13:03:05 +02:00
  • b7b24bfd51 Add anonymous namespace for ODR violations Matt Borland 2023-03-28 12:32:38 +02:00
  • c9b5976993 Add block for pre-C++17 static constexpr class members Matt Borland 2023-03-28 12:19:43 +02:00
  • ca32f123c2 Fix -Werror-maybe-uninitialized Matt Borland 2023-03-27 17:08:32 +02:00
  • b36dc17e40 Use integer to_chars if in integer range with general formatting Matt Borland 2023-03-27 16:34:44 +02:00
  • 5563d760ef Implement general notation for non-integer results Matt Borland 2023-03-27 16:16:54 +02:00
  • 3b186a9c6b Fix CI failures from macros and unreachable code with non-c++17 builds Matt Borland 2023-03-27 15:04:09 +02:00
  • b80c49d6a8 Max functions C++11 or add BOOST_CXX14_CONSTEXPR macro Matt Borland 2023-03-23 19:06:08 -07:00
  • 242672b428 Add messages to static_asserts Matt Borland 2023-03-23 18:55:18 -07:00
  • 98bad063b8 Floff works under C++11 Matt Borland 2023-03-23 18:49:31 -07:00
  • 562bd84a7d Make computing powers BOOST_CXX14_CONSTEXPR Matt Borland 2023-03-23 18:47:18 -07:00