(boxed)
| 58 | |
| 59 | const input = kase.inputs.ce; |
| 60 | const num = (boxed) => { |
| 61 | const v = boxed.N(); |
| 62 | return typeof v.re === 'number' ? v.re : Number(v.toString()); |
| 63 | }; |
| 64 | |
| 65 | // Numeric real parts of a list of boxed roots, keeping only the (near-)real |
| 66 | // ones. A complex root's `.N()` exposes `.im`; we drop |im| above a tolerance. |
no test coverage detected