Determines sgn of ln(x)
(x: Expression)
| 199 | |
| 200 | /** The tier of a real quotient whose divisor may be zero: a finite real, |
| 201 | * the projective `~oo` of `1/0`, or the `NaN` of `0/0` — never a non-real |
| 202 | * finite complex, so this is strictly tighter than `number` (lattice |
| 203 | * ruling L3: over-admit only within the `infinity` branch). */ |
| 204 | // Built as a literal node, not `parseType(...)`: this runs at module |
| 205 | // initialization, and under jest's CommonJS module graph `parse.js` is not |
| 206 | // yet initialized when this file's top level executes (a temporal-dead-zone |
| 207 | // `ReferenceError`); `tsx` happened to order the modules differently. |
| 208 | // Frozen: returned BY REFERENCE from the Divide and Power handlers and |
| 209 | // stored as-is (the parse fast path and the widening walker both return a |
| 210 | // valid, unchanged node by identity), so an in-place mutation anywhere |
| 211 | // downstream would corrupt every later pole type in the process — the |
| 212 | // same rationale as `EXTENDED_REAL_TYPE` in `common/type/primitive.ts`. |
no test coverage detected