Skip to content
  • Raymond Toy's avatar
    Add special case for (expt 0 power) · f3b73541
    Raymond Toy authored
    We know the result of (expt 0 power) so return it immediately without
    first checking if the power exceeds the limit.
    
    Also took the opportunity to add a better message to the
    intexp-limit-error condition to make it more explicit what is being
    computed and why it's failing.
    
    Tests added too.
    f3b73541
Loading