Matt Borland
903d23cbfb
Eigen matrix doesn't support iterators
2024-05-17 16:21:13 +02:00
Matt Borland
ded45c0c5c
Add nick's test set
2024-05-17 14:57:00 +02:00
Matt Borland
b437d605a9
Use SFINAE to fix C++14 build errors
2024-05-16 08:43:11 +02:00
Matt Borland
4b0d1e53c2
Fix usage of if constexpr
2024-05-15 10:28:34 +02:00
jzmaddock
7ec2760223
Add tentative polar() support and tests.
...
Fix a few missing using declarations.
Remove unneeded using std::polar.
2024-05-14 19:08:04 +01:00
Matt Borland
214a2d2367
Add remaining special functions
2024-05-09 11:11:32 +02:00
Matt Borland
9b3575b345
Bootstrap from existing complex class
2024-05-09 10:55:34 +02:00
Matt Borland
f9b9071a9d
Add MSVC workaround for test failure
2024-05-08 12:01:33 +02:00
Matt Borland
17b815dc2e
Add tanh overload
2024-05-08 11:49:34 +02:00
Matt Borland
caf7058268
Add cosh overload
2024-05-08 11:46:49 +02:00
Matt Borland
f1b88eaf5c
Add sinh overload
2024-05-08 11:40:02 +02:00
Matt Borland
c560957850
Add sqrt overload
2024-05-08 11:24:25 +02:00
Matt Borland
2a5d7bb05d
Add pow overload
2024-05-08 11:06:14 +02:00
Matt Borland
4a35b0d229
Add log10 overload
2024-05-08 10:32:07 +02:00
Matt Borland
4abb271766
Add complex and scalar basic operations
2024-05-08 09:56:34 +02:00
Matt Borland
1c95d3a97d
Add overload for log
2024-05-08 09:29:11 +02:00
Matt Borland
861c6bd8bc
Add exp overload
2024-05-08 09:11:36 +02:00
Matt Borland
618bdf387e
Fix test for std::sqrt promoting float result to double
2024-05-07 15:25:31 +02:00
Matt Borland
a5faa8df73
Add proj overload and fix const correctness
2024-05-07 13:09:37 +02:00
Matt Borland
8ee77ce758
Add conj overload
2024-05-07 12:49:04 +02:00
Matt Borland
20faba1051
Add norm
2024-05-07 12:39:11 +02:00
Matt Borland
e46424d495
Add arg
2024-05-07 12:35:16 +02:00
Matt Borland
21d9b25780
Add abs overload
2024-05-07 12:17:55 +02:00
Matt Borland
f50f134d68
Add overloads for non-member real and imag
2024-05-07 10:51:54 +02:00
Matt Borland
b714bb29bb
Add equality
2024-05-07 10:13:35 +02:00
Matt Borland
f61a9e1a97
Have std::complex inherit from multiprecision number class
2024-05-07 09:55:33 +02:00
Matt Borland
2df271ff39
Specialize class
2024-05-06 12:19:38 +02:00
Matt Borland
564ce77847
Add unary operators
2024-05-06 10:59:08 +02:00
Matt Borland
2a688a5fa0
Restrict to boost.mp types
2024-05-06 10:38:31 +02:00
Matt Borland
8e82bbb6dd
Add class basis
2024-05-06 10:30:07 +02:00
Matt Borland
1f98503b50
Add test set
2024-05-06 10:29:54 +02:00
Matt Borland
5073b38145
Add better cmake support
2024-05-06 09:15:50 +02:00
jzmaddock
2e81e42a0a
Type which are convertible to a number should not participate in arit… ( #609 )
...
* Type which are convertible to a number should not participate in arithmetic operator overloads.
Fixes https://github.com/boostorg/multiprecision/issues/608
2024-03-07 17:23:49 +00:00
jzmaddock
062503f1b3
Add missing file.
2024-02-29 19:49:33 +00:00
jzmaddock
5e24597fa3
Fix up default fmod to perform post-condition checking.
...
Fixes https://github.com/boostorg/multiprecision/issues/604 .
2024-02-29 19:18:49 +00:00
jzmaddock
f0319ec047
Trivial patches for enhanced Math tests.
2024-02-29 08:42:18 +00:00
jzmaddock
d9bb0dd92c
Correct test in Jamfile.v2
2024-02-09 19:49:13 +00:00
jzmaddock
467f09cab2
Update complex_adaptor to match precision requirements.
...
Add test case.
Fixes https://github.com/boostorg/multiprecision/issues/595
2024-02-09 17:17:59 +00:00
jzmaddock
20187736b3
Fix up cpp_bin_float for very small bit counts. ( #577 )
...
Fix up cpp_bin_float for very small bit counts.
Adds support for emulating float16_t and bfloat16_t.
Also adds test cases, and updates test_arithmetic.hpp to cope with testing small bit count types.
Fixes https://github.com/boostorg/multiprecision/issues/576 .
2023-12-16 09:21:29 +00:00
jzmaddock
a32f657409
Disable warnings from deprecated numeric_limits members. ( #575 )
...
Disable warnings from deprecated numeric_limits members.
When building with MSVC in C++23 mode.
Add test case.
2023-12-08 11:28:23 +00:00
Matt Borland
65c1175b8f
Add using std::swap
2023-10-31 11:35:20 +01:00
Matt Borland
6e7c2f9cf3
Reorder includes
2023-10-31 08:18:55 +01:00
Matt Borland
75f995eda9
Fix missing includes
2023-09-22 10:41:01 +02:00
Matt Borland
6813d96cbb
Remove uses of Boost.Array
2023-09-22 08:54:47 +02:00
Christopher Kormanyos
1624080dd4
First attempt try handle review comments
2023-08-21 12:58:48 +02:00
Christopher Kormanyos
5ea314a8bd
Try to finish denorm_min plus its tests
2023-08-20 11:29:09 +02:00
Ryan
eb0e1fecc0
initial_commit
2023-08-18 10:42:48 -04:00
jzmaddock
1b8d151bd8
Make sure changing the global precision options also changes the value for the current thread.
2023-05-01 19:14:22 +01:00
jzmaddock
697f774b09
Revert "Make expression templates implicitly convert... ( #543 )"
...
This reverts commit 02e753d603 .
2023-03-24 13:23:27 +00:00
jzmaddock
02e753d603
Make expression templates implicitly convert... ( #543 )
...
* Make expression templates implicitly convert...
to types that the number type will also convert to.
Fixes: https://github.com/boostorg/multiprecision/issues/541 .
* Restrict fix to C++17 and later and disable for older mingwin compilers.
2023-03-13 18:27:24 +00:00