(result: any)
| 19 | }; |
| 20 | |
| 21 | const ARCOTH_3 = 0.34657359027997264; // arcoth(3), root of coth(x) - 3 = 0 |
| 22 | |
| 23 | function firstRootValue(result: any): number | undefined { |
| 24 | if (!Array.isArray(result) || result.length === 0) return undefined; |
| 25 | return result[0].N().re; |
| 26 | } |
| 27 |