Antonio Sánchez
f391289150
Fix bug in checking subnormals.
2024-01-25 17:52:07 +00:00
Antonio Sánchez
a73970a864
Fix arm32 issues.
2024-01-23 22:04:55 +00:00
Antonio Sánchez
46e9cdb7fe
Clang-format tests, examples, libraries, benchmarks, etc.
2023-12-05 21:22:55 +00:00
Antonio Sánchez
3252ecc7a4
Fix scalar_logistic_function overflow for complex inputs.
2023-12-05 18:21:04 +00:00
Kyle Macfarlan
5de0f2f89e
Fixes #2735 : Component-wise cbrt
2023-10-25 03:06:13 +00:00
Charles Schlosser
81b48065ea
Fix arm32 float division and related bugs
2023-08-29 00:36:07 +00:00
Charles Schlosser
5527e78a64
Add missing x86 pcasts
2023-07-28 23:41:38 +00:00
Charles Schlosser
6e7abeae69
fix arm build warnings
2023-07-17 20:37:27 +00:00
Charles Schlosser
1a2bfca8f0
Fix annoying warnings
2023-07-07 20:19:58 +00:00
Charles Schlosser
59b3ef5409
Partially Vectorize Cast
2023-06-09 16:54:31 +00:00
Charles Schlosser
b7151ffaab
Fix unary pow error handling and test
2023-06-06 18:46:55 +00:00
Charles Schlosser
9eb8e2afba
Change array_cwise test name
2023-05-05 03:08:43 +00:00
Charles Schlosser
2af03fb685
clean up array_cwise test
2023-05-04 16:02:08 +00:00
Antonio Sánchez
2d0c6ad873
Revert "Vectorize cast"
...
This reverts commit eb5ff1861a4783876564a1a79573c3b9ff566863
2023-04-26 18:03:36 +00:00
Charles Schlosser
8999525c29
AVX2: Packet4ul has pmul, abs2
2023-04-26 16:22:16 +00:00
Charles Schlosser
eb5ff1861a
Vectorize cast
2023-04-26 02:50:13 +00:00
Rasmus Munk Larsen
3492d9e2e5
s/Lesser/Less/
2023-03-10 00:28:31 +00:00
Antonio Sánchez
eb4dbf6135
Modify failing cwise test to get it to pass.
2023-03-07 19:47:42 +00:00
Charles Schlosser
1ce8b25825
Vectorize any() / all()
2023-03-06 23:54:02 +00:00
Charles Schlosser
0b396c3167
Scalarize comps
2023-03-02 17:06:23 +00:00
Charles Schlosser
3abe12472e
fix signed shift test
2023-03-01 14:31:13 +00:00
Charles Schlosser
826627f653
vectorize comparisons and select by enabling typed comparisons
2023-02-25 20:52:11 +00:00
Rasmus Munk Larsen
ce62177b5b
Vectorize atanh & add a missing definition and unit test for atan.
2023-02-21 03:14:05 +00:00
Charles Schlosser
049a144798
Add typed logicals
2023-02-18 01:23:47 +00:00
Charles Schlosser
94b19dc5f2
Add CArg
2023-02-15 21:33:06 +00:00
Charles Schlosser
71a8e60a7a
Tweak pasin_float, fix psqrt_complex
2023-02-15 01:01:14 +00:00
Antonio Sánchez
c15b386203
Fix MSVC atan2 test.
2023-02-14 18:30:58 +00:00
Rasmus Munk Larsen
07aaa62e6f
Fix compiler warnings in tests.
2023-02-14 02:29:03 +00:00
Charles Schlosser
0471e61b4c
Optimize various mathematical packet ops
2023-01-28 01:34:26 +00:00
Charles Schlosser
6d9f662a70
Tweak atan2
2023-01-26 17:38:21 +00:00
Rasmus Munk Larsen
3717854a21
Use numext::signbit instead of std::signbit, which is not defined for bfloat16.
2022-12-15 18:41:46 +00:00
Charles Schlosser
b7551bff92
Fix a bunch of annoying compiler warnings in tests
2022-11-21 20:07:19 +00:00
Charles Schlosser
82b152dbe7
Add signbit function
2022-11-04 00:31:20 +00:00
Rasmus Munk Larsen
14c847dc0e
Refactor special values test for pow, and add a similar test for atan2
2022-10-12 20:12:08 +00:00
Rasmus Munk Larsen
d6bc062591
Remove reference to EIGEN_HAS_CXX11_MATH.
2022-10-10 23:38:28 +00:00
Rasmus Munk Larsen
1e1848fdb1
Add a vectorized implementation of atan2 to Eigen.
2022-09-28 20:46:49 +00:00
Rasmus Munk Larsen
dceb779ecd
Fix test for pow with mixed integer types. We do not convert the exponent if it is an integer type.
2022-09-12 15:51:27 -07:00
Rasmus Munk Larsen
afc014f1b5
Allow mixed types for pow(), as long as the exponent is exactly representable in the base type.
2022-09-12 21:55:30 +00:00
Antonio Sánchez
3c37dd2a1d
Tweak bound for pow to account for floating-point types.
2022-09-08 17:40:45 +00:00
Antonio Sánchez
69f50e3a67
Adjust overflow threshold bound for pow tests.
2022-09-06 19:53:29 +00:00
Antonio Sanchez
3e44f960ed
Reduce compiler warnings for tests.
2022-09-06 18:20:56 +00:00
Charles Schlosser
e5af9f87f2
Vectorize pow for integer base / exponent types
2022-08-29 19:23:54 +00:00
Rasmus Munk Larsen
98e51c9e24
Avoid undefined behavior in array_cwise test due to signed integer overflow
2022-08-26 16:19:03 +00:00
Charles Schlosser
76a669fb45
add fixed power unary operation
2022-08-16 21:32:36 +00:00
Rasmus Munk Larsen
7a87ed1b6a
Fix code and unit test for a few corner cases in vectorized pow()
2022-08-08 18:48:36 +00:00
Rasmus Munk Larsen
96dc37a03b
Some fixes/cleanups for numeric_limits & fix for related bug in psqrt
2022-01-07 01:10:17 +00:00
Erik Schultheis
ec4efbd696
remove EIGEN_HAS_CXX11
2021-11-24 20:08:49 +00:00
Antonio Sanchez
fc9d352432
Renamed shift_left/shift_right to shiftLeft/shiftRight.
...
For naming consistency. Also moved to ArrayCwiseUnaryOps, and added
test.
2021-08-17 20:04:48 -07:00
Antonio Sanchez
8dfe1029a5
Augment NumTraits with min/max_exponent() again.
...
Replace usage of `std::numeric_limits<...>::min/max_exponent` in
codebase where possible. Also replaced some other `numeric_limits`
usages in affected tests with the `NumTraits` equivalent.
The previous MR !443 failed for c++03 due to lack of `constexpr`.
Because of this, we need to keep around the `std::numeric_limits`
version in enum expressions until the switch to c++11.
Fixes #2148
2021-03-16 20:12:46 -07:00
David Tellenbach
df4bc2731c
Revert "Augment NumTraits with min/max_exponent()."
...
This reverts commit 75ce9cd2a7aefaaea8543e2db14ce4dc149eeb03.
2021-03-17 03:06:08 +01:00