Skip to content

Conversation

@jtmueller
Copy link
Owner

@jtmueller jtmueller commented Jan 7, 2023

For .NET 7 only, adds the NumericOption<T> type, which is an Option that only holds structs that implement INumber<T>, and allows you to transparently perform math operations on them.

@codecov
Copy link

codecov bot commented Jan 7, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@0cd5f0b). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage        ?   94.84%           
=======================================
  Files           ?       11           
  Lines           ?     1105           
  Branches        ?      240           
=======================================
  Hits            ?     1048           
  Misses          ?       31           
  Partials        ?       26           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jtmueller jtmueller changed the title Number<T> Support INumber<T> Support Jan 7, 2023
@jtmueller jtmueller marked this pull request as draft January 7, 2023 08:20
@jtmueller jtmueller linked an issue Jan 7, 2023 that may be closed by this pull request
@jtmueller jtmueller marked this pull request as ready for review January 9, 2023 16:03
@jtmueller jtmueller merged commit ad1b452 into main Jan 9, 2023
@jtmueller jtmueller deleted the features/numeric branch January 9, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

INumber<T> support

2 participants