28 Commits

Author SHA1 Message Date
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