mp_grow.c


Log

Author Commit Date CI Message
Daniel Mendler 08d281c4 2019-12-05T00:48:25 introduce MP_MAX_DIGIT_COUNT to prevent overflow
Daniel Mendler 3a744dc4 2019-12-05T00:33:53 s_mp_radix_size_overestimate: remove overflow check
Daniel Mendler 795cd201 2019-10-29T21:48:50 simplifications: add s_mp_zero_(digs|buf) and s_mp_copy_digs Originally I made those as macros. However we have many other small functions like mp_clamp, mp_exch which are also not implemented as macros right now. If we would use c99, I would implement them as private static inline functions. And mp_exch would be a public static inline function. But since we are bound to c89, we simply use normal functions. To achieve optimal performance one should either use link time optimization or amalgamation.
Daniel Mendler 3cdcec43 2019-10-29T18:41:25 first batch of simplifications
Steffen Jaeckel 7a68f128 2019-10-19T16:24:39 Execute move.sh - Rename files from bn_* to match the function names. * git blame <renamed-file> is not affected * git log --follow <renamed-file> can be used to show log across renames