You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PMArbitraryPrecisionFloat one returns a Float #198
Ah, there's no such thing in original repository.
I don't think that it's a good idea to have one on class side because we can't specify precision.
Unless you pick some arbitrary arbitraryPrecision...
Probably, we should forbid new too, that's not how instances shall be created.
There is no method on the class side, but one in defined in Number on class side in fact.
BTW, how instances should be created. Do you have tests that illustrate how to create instances?
Activity
nicolas-cellier-aka-nice commentedon Feb 28, 2021
I don't know. In the original repo, I have this:
SergeStinckwich commentedon Feb 28, 2021
yes on instance side, I was talking about class side.
When I try:
PMArbitraryPrecisionFloat new one, I have an error.nicolas-cellier-aka-nice commentedon Feb 28, 2021
Ah, there's no such thing in original repository.
I don't think that it's a good idea to have one on class side because we can't specify precision.
Unless you pick some arbitrary arbitraryPrecision...
Probably, we should forbid new too, that's not how instances shall be created.
SergeStinckwich commentedon Feb 28, 2021
There is no method on the class side, but one in defined in Number on class side in fact.
BTW, how instances should be created. Do you have tests that illustrate how to create instances?
SergeStinckwich commentedon Feb 28, 2021
It would be interesting to have a default precision I think.
[-]PMArbitraryPrecisionFloat one returns a Float[/-][+]``PMArbitraryPrecisionFloat one`` returns a Float[/+]