Eric Botcazou <ebotca...@adacore.com> writes:
>> This is the second part of PR 61084, which it seems I'd forgotten to post.
>> pdist calculates a wide result from narrower inputs, so I should have
>> used widest_int rather than wide_int.
>
> Is that documented?  Because, if even you wide-int guys got it wrong...

Well, I understood the distinction between wide_int and widest_int.
I just didn't understand what pdist did. :-)

The difference is documented (a bit verbosely) in wide-int.h.

Does anyone have any suggestions for a better name than "wide_int" though?
The main property of wide_int is that it has a variable precision, whereas
widest_int and offset_int have constant precisions.

Thanks,
Richard

Reply via email to