Commit ffb3b36
math: add more tests for special cases of Bessel functions Y0, Y1, Yn
Test finite negative x with Y0(-1), Y1(-1), Yn(2,-1), Yn(-3,-1).
Also test the special case Yn(0,0).
Fixes golang#19130.
Change-Id: I95f05a72e1c455ed8ddf202c56f4266f03f370fd
Reviewed-on: https://go-review.googlesource.com/37310
Reviewed-by: Robert Griesemer <gri@golang.org>1 parent dc6af19 commit ffb3b36
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1742 | 1742 | | |
1743 | 1743 | | |
1744 | 1744 | | |
| 1745 | + | |
1745 | 1746 | | |
1746 | 1747 | | |
1747 | 1748 | | |
1748 | 1749 | | |
1749 | 1750 | | |
1750 | 1751 | | |
| 1752 | + | |
1751 | 1753 | | |
1752 | 1754 | | |
1753 | 1755 | | |
1754 | 1756 | | |
1755 | 1757 | | |
1756 | 1758 | | |
| 1759 | + | |
1757 | 1760 | | |
1758 | 1761 | | |
1759 | 1762 | | |
1760 | 1763 | | |
1761 | 1764 | | |
1762 | 1765 | | |
| 1766 | + | |
1763 | 1767 | | |
1764 | 1768 | | |
1765 | 1769 | | |
1766 | 1770 | | |
1767 | 1771 | | |
1768 | 1772 | | |
| 1773 | + | |
1769 | 1774 | | |
1770 | 1775 | | |
1771 | 1776 | | |
| |||
2716 | 2721 | | |
2717 | 2722 | | |
2718 | 2723 | | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
2719 | 2727 | | |
2720 | 2728 | | |
2721 | 2729 | | |
| |||
0 commit comments