|
ad36b915bc
|
[ci skip] Import namespaces for tests
|
2022-04-21 18:13:53 +01:00 |
|
|
0af2c7fb8e
|
Move Math/Numerics float extensions to child namespaces (#7)
|
2022-04-21 18:13:20 +01:00 |
|
|
c8d8e212e2
|
Move EndPointExtensions to Net namespace (#7)
|
2022-04-21 17:46:41 +01:00 |
|
|
95020e0db0
|
Move math-related extensions to child namespace (#7)
|
2022-04-21 17:43:56 +01:00 |
|
|
95d61eff2c
|
Move RandomExtensions to child namespaces (#7)
|
2022-04-21 17:40:50 +01:00 |
|
|
44c8b87069
|
Added DigitalRoot for short/int/long
Also introduces Mod for short/long
|
2022-04-21 17:25:59 +01:00 |
|
|
881ccb0474
|
Added To extension method (equivalent of Enumerable.Range)
|
2022-04-21 17:22:29 +01:00 |
|
|
28551f25e6
|
Add trigonometric functions (implements #49)
|
2022-04-21 17:09:16 +01:00 |
|
|
d9277dbbf6
|
Add tests for ComplexInfinity
|
2022-04-21 12:44:50 +01:00 |
|
|
8008a4a9ef
|
Fix incorrect return values for ComplexSqrt
|
2022-04-21 12:44:40 +01:00 |
|
|
b8dd5cc8bf
|
[github actions] dotnet test Release (not Debug)
|
2022-04-21 12:32:11 +01:00 |
|
|
fb50d3832e
|
Remove unnecessary partial for BooleanExtensions
|
2022-04-21 12:27:13 +01:00 |
|
|
70b3e9eff3
|
Improve accuracy of ComplexSqrt
|
2022-04-21 12:26:13 +01:00 |
|
|
e7e8d75fba
|
Rework Sqrt methods
Implemented using a method invented by Isaac Newton, authored by SLenik on StackOverflow CC-BY-SA 3.0 https://stackoverflow.com/a/6755197/1467293
|
2022-04-21 12:21:38 +01:00 |
|
|
9b9b75ae5b
|
Add Sqrt tests
|
2022-04-21 12:20:19 +01:00 |
|
|
4855ae8bf2
|
[ci skip] Use file-scoped namespaces for tests
|
2022-04-21 12:15:29 +01:00 |
|
|
6f96ab795c
|
Add Sqrt and ComplexSqrt for float/double
|
2022-04-21 12:06:18 +01:00 |
|
|
b3a4342c77
|
[ci skip] Document ArithmeticException (#15)
|
2022-04-21 12:04:17 +01:00 |
|
|
f6c08fedf3
|
Cast directly to long, not short, for IsPrime
|
2022-04-21 11:49:21 +01:00 |
|
|
86b6a94adc
|
Add Sign() for signed numeric types
Behaves as Math.Sign()
|
2022-04-21 11:04:05 +01:00 |
|
|
3a58ed88c9
|
Add AsArray/AsEnumerable (#47)
|
2022-04-20 23:14:16 +01:00 |
|
|
1460e6b6c3
|
Add LINQ-inspired All/Any for ReadOnly/Span<T>
|
2022-04-20 19:33:51 +01:00 |
|
|
af9449935f
|
Fix null input for WithAlternative test
|
2022-04-20 19:32:34 +01:00 |
|
|
85becd2415
|
Add Array.Fill
|
2022-04-20 19:27:06 +01:00 |
|
|
e183c31579
|
Add Array.AsReadOnly and Array.Clear
Tests were added, implementation was missing
|
2022-04-20 19:24:42 +01:00 |
|
|
108390a415
|
Allow null alternative
|
2022-04-20 19:19:07 +01:00 |
|
|
d4e3c8ab50
|
Use file-scoped namespaces
|
2022-04-20 18:51:20 +01:00 |
|
|
37c7b74379
|
Inline float arithmetic, don't cast
|
2022-04-20 18:50:06 +01:00 |
|
|
778d8c6cf1
|
Add Deg<->Rad tests
|
2022-04-20 18:48:43 +01:00 |
|
|
00571983c6
|
Force precedence of constant arithemtic
(Relates to previous commit, forgot doubles. Leave me alone)
|
2022-04-20 18:39:13 +01:00 |
|
|
8f40dd8617
|
Force precedence of constant arithmetic
|
2022-04-20 18:37:02 +01:00 |
|
|
1fc22cc99c
|
Fix RadiansToDegrees formula
|
2022-04-20 18:36:16 +01:00 |
|
|
b107360190
|
Use MathF.PI instead of Math.PI with cast
|
2022-04-20 18:34:49 +01:00 |
|
|
facc0834f0
|
Separate unwrapped Enum.Next/Previous to Unchecked overloads
|
2022-04-20 18:16:59 +01:00 |
|
|
d9b60fbb94
|
Optimize debug builds
|
2022-04-20 17:35:56 +01:00 |
|
|
2a6df446c2
|
[ci skip] Format csproj
|
2022-04-20 17:35:21 +01:00 |
|
|
4c81c218d5
|
Remove preview features
|
2022-04-20 17:34:49 +01:00 |
|
|
950c30f267
|
Update MSTest and Test SDK
|
2022-04-20 17:33:22 +01:00 |
|
|
3aaee23ebe
|
Add (some) missing tests
|
2022-04-20 17:33:02 +01:00 |
|
|
2128814db1
|
[ci skip] Use explicit type in tests
|
2022-04-20 17:31:16 +01:00 |
|
|
928fa64ba4
|
Remove Random.NextInt64
This functionality is built in starting with .NET 6
|
2022-04-20 17:17:49 +01:00 |
|
|
ea08d0fb9e
|
[ci skip] Use meaningful parameter names (#14)
|
2022-04-20 17:11:55 +01:00 |
|
|
1c9bb0d82e
|
[ci skip] Order methods lexicographically
|
2022-04-20 17:10:40 +01:00 |
|
|
ed17ce175a
|
Use improved wording in xmldoc (#15)
|
2022-04-20 17:05:21 +01:00 |
|
|
6e1f08472d
|
null-check Random parameter (#42)
|
2022-04-20 17:04:37 +01:00 |
|
|
244f079133
|
Favour string.IsNullOrWhiteSpace over Length == 0 (#42)
|
2022-04-20 17:03:32 +01:00 |
|
|
b6ec67d91f
|
Remove internal Random in favour of static Shared
|
2022-04-20 17:02:35 +01:00 |
|
|
684fba043f
|
Remove IReadOnlyCollection<T>.Split
In the same vein as 0123ec60d6
|
2022-04-20 16:52:07 +01:00 |
|
|
a645f56204
|
[ci skip] Add test for Enumerable.Shuffled
|
2022-04-20 16:47:15 +01:00 |
|
|
c4b82c2619
|
[ci skip] Fix xmldoc for Shuffle/Shuffled (#15)
|
2022-04-20 16:46:02 +01:00 |
|