69 Commits

Author SHA1 Message Date
ckormanyos e4aada5489 More tests and syntax 2025-07-19 22:30:57 +02:00
ckormanyos 4dce9aaffd Remove forgotten local test code 2025-07-15 15:15:45 +02:00
ckormanyos eec48fe44f Streamline some syntax and more cover 2025-07-15 14:12:09 +02:00
ckormanyos 7aec17719d Finish default_ops pow function tests 2025-07-15 12:21:32 +02:00
ckormanyos 0be16898fd Keep tuning coverage 2025-07-14 20:06:43 +02:00
ckormanyos daaea2952d Remove redundant and thus uncovered lines 2025-07-14 16:35:27 +02:00
ckormanyos b5725b5ba8 Intended to address issue722 2025-07-12 16:01:21 +02:00
ckormanyos 1f0385a0f5 Disable/enable new edge-tests properly 2025-07-12 11:39:44 +02:00
ckormanyos 71cd350be9 Correct and cover cpp_double_fp pow edges 2025-07-12 11:00:56 +02:00
ckormanyos 6a093d6506 Repair tests on noble und merge develop 2025-06-29 12:09:54 +02:00
ckormanyos 394b80f27c Enhance quality via tests and syntax 2025-06-29 10:35:23 +02:00
ckormanyos e2a99d6b0d Dedicated test-traits and MSVC easier 2025-06-27 15:28:52 +02:00
ckormanyos d70e39ccc0 Ensure new trait available for all backends 2025-06-27 14:42:23 +02:00
ckormanyos 695c3957d1 Address review comments for tests 2025-06-27 14:13:55 +02:00
ckormanyos 7607605e81 Rework 1 of eval_convert_to with more TBD 2025-06-24 19:54:31 +02:00
ckormanyos 39664840bb Repair test_pow on TEST_MPFI_50 run 2025-06-23 16:30:05 +02:00
ckormanyos 35b76501b5 Correct test_pow in all tests 2025-06-23 15:52:18 +02:00
ckormanyos 73324c2969 Refactor test_pow adapt for all backends 2025-06-23 14:56:50 +02:00
ckormanyos 748b7511ae Handle recent review comments 2025-06-19 13:28:31 +02:00
ckormanyos 255e611f5e Ensure that everything works in gnu++XX mode 2025-01-04 22:06:18 +01:00
ckormanyos 1933c7d645 Restore test_pow with no special *df-file 2024-12-20 15:20:47 +01:00
ckormanyos 8e82493c0c Merge branch 'upstream_develop' into sync_upstream
# Conflicts:
#	include/boost/multiprecision/cpp_dec_float.hpp
#	test/test_exp.cpp
2024-12-14 19:17:18 +01:00
Matt Borland 6813d96cbb Remove uses of Boost.Array 2023-09-22 08:54:47 +02:00
Christopher Kormanyos 35df8d575b Manually synchronize with Multiprecision PR 515 2023-01-08 21:59:47 +01:00
Christopher Kormanyos 5331c2a602 Use float128_type instead of num-wrapped float128 2023-01-05 14:27:22 +01:00
Christopher Kormanyos b921bb8a6e Replace float128 detection macro 2023-01-03 22:03:49 +01:00
Christopher Kormanyos cd0b3ed0a7 Comments and sync with parent repo 2023-01-03 10:07:47 +01:00
Christopher Kormanyos ab5bbd6a6c Simplify double-float backend header filename 2023-01-02 18:02:03 +01:00
Christopher Kormanyos 6b2f91b542 For DF repair sqrt(0) and adapt pow() tests 2023-01-01 10:19:53 +01:00
Christopher Kormanyos 4aeb888a0e Concentrate on double-float tests only 2022-12-31 16:06:51 +01:00
Christopher Kormanyos 73ceded482 DF refactor name handle warn and check standalone 2022-12-29 16:18:39 +01:00
Christopher Kormanyos ccf6734d36 Merge branch 'develop' of https://github.com/boostorg/multiprecision into gsoc2021_double_float_chris
# Conflicts:
#	.github/workflows/multiprecision_quad_double_only.yml
#	.gitignore
#	performance/performance_test.cpp
#	test/test_arithmetic.hpp
2022-12-28 15:16:21 +01:00
Matt Borland d85e3f2b34 replace boost::long_long_type and boost::ulong_long_type 2021-11-26 20:29:08 +02:00
Christopher Kormanyos d21836a84b Retry big name change but special handle qf arith 2021-08-18 09:00:46 +02:00
Christopher Kormanyos 7d61ecb1d8 Revert name changes and add ldbl tests 2021-08-18 07:17:56 +02:00
Christopher Kormanyos 5a3e5d16b9 Try big renaming of backend types 2021-08-17 20:02:52 +02:00
Christopher Kormanyos b24d2c9d4c Add more tests to CI 2021-08-15 16:19:26 +02:00
Christopher Kormanyos 735008c586 Preliminary implement/test qd square root 2021-08-06 08:56:43 +02:00
pabristow 86a7142d96 Edits to satisfy the picky inspect.exe program, now passing local tests using MSVC 14.2, except for six cpp_int*serial*.txt testdata files missing licence. 2019-08-14 18:02:10 +01:00
jzmaddock 877753246f clang-format: apply new format to (almost) everything. 2019-07-15 18:25:17 +01:00
Tinko Bartels 8740e3863b Replace broken links. 2019-04-23 08:51:47 +02:00
jzmaddock 8d04a03850 Multiprecision: Fix msvc-14.1 C++17 warnings. 2017-12-26 19:22:21 +00:00
jzmaddock a4b198e1b7 Multiprecision.cpp_bin_float: Fix errors in exponent usage when exponent type is a long long.
See https://svn.boost.org/trac10/ticket/13264.
Fix previously unsupported situation: conversion of narrow cpp_bin_float to wider integer type.
See https://svn.boost.org/trac10/ticket/13301.
Improve test coverage for cpp_bin_floats with large exponent types, and/or dynamic allocators.
Fix issue in numeric_limits::max() that caused a complement of a signed integer number to be taken when the allocator is dynamic.
Fix heuristic in exp() function that caused a crazy number of iterations to be taken when the exponent was very large.
2017-12-26 17:54:41 +00:00
jzmaddock 76ad144e00 Disable new pow/exp underflow tests for interval types.
The resulting intervals are too wide for the tests to pass.
2017-05-15 12:03:32 +01:00
jzmaddock f7dc0c74c5 Update test_pow.cpp/test_exp.cpp to handle types with no infinity.
Also adjusted start point of tests for float128.
2017-05-14 19:26:12 +01:00
jzmaddock e691d23cd5 Fix for internal logic error in exp of large values.
See https://github.com/boostorg/multiprecision/issues/23.
2017-05-14 09:37:49 +01:00
John Maddock 10ed707a68 Initial merge of cpp_bin_float code from sandbox.
[SVN r86781]
2013-11-21 19:05:42 +00:00
John Maddock 9b7bf3303e Fix mpfi pow function to correctly handle negative base with integer power.
Fixed error handling to not return numeric_limits<>::quiet_NaN if there is no NaN supported.
Fixed default pow implementation to handle integer args up to numeric_limits<uintmax_t>::max().
Fixed error handling in default pow implementation to return NaN for too large exponents (can't tell if they're integers or even or odd) and negative bases.
Fixed array subscript bug in cpp_dec_float.
Greatly increased pow testing.
Fixes #8809.

[SVN r85008]
2013-07-12 16:13:34 +00:00
John Maddock 714b02ccfe Fix bug in eval_pow that causes 0^N to be none-zero.
Fixes #8798.

[SVN r84997]
2013-07-10 16:08:12 +00:00
John Maddock 04b1c9e9f0 Initial commit of 128-bit float wrapper
[SVN r83713]
2013-04-02 17:26:48 +00:00