Task: Implement ISpanFormattable on atomic types #125
Labels
design
good first issue
Good for newcomers
pri:normal
up for grabs
This issue is open to be worked on by anyone
Milestone
ISpanFormattable
is implemented inNumber
with a substandard implementation. However, none of the atomic types are overriding it to provide an optimized implementation (which we already have implemented inDotNetNumber
). So, we just need to add these overrides to significantly improve performance on these methods.Unlike the types in J2N.Numerics, there is no reason to provide a static overload. This is just a convenience to format the value without first converting it to a .NET numeric type.
We will also need documentation. In general, the documentation can be copied from the
TryFormat
method in the corresponding type in J2N.Numerics.The text was updated successfully, but these errors were encountered: