reformat: change errors types raised by int_roots, ln_values and ln_branch
reformat: change errors types raised by int_roots, ln_values and ln_branch

Minor:
  - Changed m.inf to float('inf') for better compatibility

Jexan/AlComplex