Skip to content

Add asserts to Log2_norm_lc() and log10_fx()

Reason why this change is needed

  • The functions Log2_norm_lc() and log10_fx() both use table-lookup. Given that the address sanitizer doesn't reliably work if the OOB-access is too far off the original table, I would like to add some asserts to these functions to catch OOB early, at least while NDBUG isn't set.

Description of the change

  • Add asserts

Affected operating points

  • BE

Merge request reports

Loading