Commit Graph

40 Commits

Author SHA1 Message Date
Oliver Booth 7f9277287b
test: add 100% coverage for DigitalRoot
remove partial coverage by checking for 9
2024-06-12 13:38:52 +01:00
Oliver Booth bb2f67e9b6
style: remove UTF8 BOM 2023-08-26 18:08:14 +01:00
Oliver Booth 8bc7372ba4
Merge branch 'release/4.0.0' into feature/generic_math 2023-08-25 02:27:08 +01:00
Oliver Booth 24a7de7e8c
refactor: define test fixtures as internal 2023-08-22 17:32:47 +01:00
Oliver Booth 9791fd23bb
feat: add CountDigit for integer types 2023-04-06 14:40:27 +01:00
Oliver Booth ab62db2b37
chore: switch from MSTest to NUnit (#76) 2023-04-05 22:51:59 +01:00
Oliver Booth b91aad6305
feat: convert DigitalRoot and Mod to generic math 2023-04-05 15:35:25 +01:00
Oliver Booth dc1b9d6c04
feat: add math extensions for BigInteger 2023-04-05 11:05:53 +01:00
Oliver Booth 514e5b12b0
feat: add MathUtility.Pulse (resolves #60) 2023-04-03 17:26:03 +01:00
Oliver Booth 1939bbe4ba
feat: add MathUtility.Sawtooth (#60) 2023-04-03 17:15:11 +01:00
Oliver Booth c7370c39fd
feat: add MathUtility.Sigmoid (#60) 2023-04-03 16:38:58 +01:00
Oliver Booth 654d5b5b08
feat: Add MathUtility.ExponentialDecay (#60) 2023-04-03 16:21:43 +01:00
Oliver Booth d27f4caef7
feat: add MathUtility.SmoothStep (#60) 2023-04-03 15:47:18 +01:00
Oliver Booth 105ff81713
test: add tests for MathUtility.Lerp 2023-04-03 15:02:03 +01:00
Oliver Booth 3f147c98b2
feat: add double overload for Bias (#60) 2023-04-03 15:00:13 +01:00
Oliver Booth f131c281cf
feat: add MathUtility.Bias (#60) 2023-04-03 14:41:32 +01:00
Oliver Booth 6b1dc2837a
test: bring coverage to 100% for Collections, Linq, Math, and Text 2023-04-02 04:16:33 +01:00
Oliver Booth 23282db3a9
fix(test): import X10D.Core for NextSingle to work on < net6.0 2023-04-01 22:00:11 +01:00
Oliver Booth e52e9096e0
feat: expose ComplexSqrt to all frameworks 2023-04-01 18:54:04 +01:00
Oliver Booth 6e7e162ffe
test: 100% coverage on MultiplicativePersistence 2023-03-31 23:19:21 +01:00
Oliver Booth 3d2baf595b
test: 100% coverage on Wrap for all types 2023-03-31 20:37:50 +01:00
Oliver Booth 369882c1e8
[ci skip] style: remove unused using directives 2023-03-31 18:52:12 +01:00
Oliver Booth 275d98fbf8
feat: add LowestCommonMultiple for built-in integer types
This was previously incorrectly documented in CHANGELOG.md. The method now exists. Sorry about that
2023-03-31 18:07:50 +01:00
Oliver Booth 436f56d912
feat: add Saturate for floating point types (#60) 2023-03-29 16:21:16 +01:00
Oliver Booth d1454a1170
[ci skip] Add unit tests for ScaleRange
Add Aggressive implementations, and annotate as Pure
2023-02-26 13:33:01 +00:00
Oliver Booth 795d696eca
Add GammaToLinear and LinearToGamma (#60) 2023-02-26 13:10:59 +00:00
Oliver Booth ca1b1ccbf2
Add GreatestCommonFactor for built-in integer types 2023-02-26 12:25:50 +00:00
Oliver Booth b5227f58d3
Code cleanup for X10D.Tests 2022-06-01 15:35:00 +01:00
Oliver Booth 7ca206721b
Add MathUtility.InverseLerp (#60) 2022-05-23 10:33:52 +01:00
Oliver Booth ed2920f8a0
Multi-target X10D.Tests 2022-05-07 23:16:06 +01:00
Oliver Booth 8ba5a5ad19
Remove empty lines and unnecessary namespace imports 2022-04-30 11:33:48 +01:00
Oliver Booth a7631b0efe
Add MultiplicativePersistence for integer types 2022-04-30 11:29:09 +01:00
Oliver Booth 3ae2827fd5
Fix precision errors by specifying delta 1e-6 2022-04-30 11:07:57 +01:00
Oliver Booth 7577fc1c99
"Fix" weird edge-case with Atanh returning incorrect value 1x10^-16 2022-04-30 10:41:27 +01:00
Oliver Booth 2547d4a227
Add comprehensive math tests
Introduces extension methods for decimal
2022-04-30 10:15:36 +01:00
Oliver Booth 06413fd710
Add comprehensive IsPrime tests 2022-04-29 21:57:41 +01:00
Oliver Booth 7fb9459a91
Add tests for IsEven/IsOdd/DigitalRoot 2022-04-25 00:02:08 +01:00
Oliver Booth b4f09e0a94
Move math-related extensions to Math namespace (#7) 2022-04-24 11:04:30 +01:00
Oliver Booth 224e465915
Move math-related extensions to Math namespace (#7) 2022-04-23 11:14:20 +01:00
Oliver Booth 7d227ad2a8
Added Factorial method 2022-04-23 10:21:07 +01:00