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
Currenty only two methods new() are present, from i32 and u32.
Is there any reason why?
It should be psosible to provide more overloads? for f64 and at least for i64.
The text was updated successfully, but these errors were encountered:
I think for int64/f64 we will need to convert them into BCD8 and call decQuadFromBCD. int64 should be exact, f64 will be lossy. Do you want to take a stab at it?
Yep. I will work on this.
I've attached pull request which has work on the i64/u64.
I had to implement the double dabble algorithm - well i copied the impl from wikipedia. I did not find one available here.
Please comment whether this looks good for you. if it does i will work on adding fp support. Do you have some ideas as to how to convert from fp to dec?
Currenty only two methods new() are present, from i32 and u32.
Is there any reason why?
It should be psosible to provide more overloads? for f64 and at least for i64.
The text was updated successfully, but these errors were encountered: