Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Bessel functions for very large order (#4366)
Our version of openlibm uses a recurrence relation to build higher order Bessel functions from j0 and j1. For orders greater than int32_t, the recurrence loop never runs thanks to integer overflow in the loop index. The fix here is to simply throw a DomainError for such enormous values of the order of the Bessel function.
- Loading branch information