Alternative 2: Suffix renamings (_n suffix)#446
Conversation
bb44dd7 to
b14b76c
Compare
|
Is this _n suffix acceptable for you? The root function was called n_root before. I think the _d suffix should be reserved for digits. |
nijtmans
left a comment
There was a problem hiding this comment.
Yes, the 'n' suffix is OK to me. As type, I would prefer 'unsigned int' or 'unsigned long', since 'n' suggests a positive number: I don't want to check for n < 0 in every function, returning MP_VAL in this case. But ... that's OK for another PR
|
Yes, we also had the unsigned discussion in #437. Let's keep things separate. |
|
@sjaeckel I guess you prefer this over alternative 1? Ready from my side. |
I am not sure, that's why I left them both untouched. Does this block you? |
|
This is not a big blocker. Maybe a bit for #430. But at at some point we have to resolve this. |
d2b56d0 to
793b625
Compare
793b625 to
699573f
Compare
|
Okay, so you think we should go with this version?! :) I'm fine with this version of the API. Now let's head for 2.0 with this version as there are still some discussions upcoming e.g. regarding unsigned arguments. |
|
I don't really care, but having it like this leaves the door open for all-mp_int functions. |
|
This is for 2.0. but we should backport the renaming/deprecation. That's all for 1.x |
What do you mean by that? Can this be merged? |
as soon as it's rebased |
e69b8c2 to
41eca34
Compare
alternative to #437