URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc6b9dfcd635a1ca97a218bcdaf16a2ee5f7b693 Submitter: Guy Harris (g...@alum.mit.edu) Changed: branch: master Repository: wireshark
Commits: dc6b9df by Guy Harris (g...@alum.mit.edu): Define macros to calculate (2^N)^M, and use them in more places. Change-Id: I4df1b35d8d2233c301f0ba9e119d012aebe9cd17 Reviewed-on: https://code.wireshark.org/review/25913 Reviewed-by: Guy Harris <g...@alum.mit.edu> Actions performed: from e4787a9 Don't use floating point to calculate 4^N, for integer N. adds dc6b9df Define macros to calculate (2^N)^M, and use them in more places. Summary of changes: epan/dissectors/packet-icmpv6.c | 4 +++- epan/dissectors/packet-iso14443.c | 9 +++++---- epan/dissectors/packet-nas_eps.c | 18 +++++++++--------- epan/dissectors/packet-sigcomp.c | 6 +++--- wsutil/CMakeLists.txt | 1 + wsutil/Makefile.am | 1 + wsutil/pow2.h | 29 +++++++++++++++++++++++++++++ 7 files changed, 51 insertions(+), 17 deletions(-) create mode 100644 wsutil/pow2.h ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe