(x: unknown)
| 84 | * - ln(e) -> 1 |
| 85 | * - sin(0) -> 0 |
| 86 | * - cos(0) -> 1 |
| 87 | */ |
| 88 | export function hasSymbolicTranscendental(expr: Expression): boolean { |
| 89 | const op = expr.operator; |
| 90 | // Transcendental functions applied to numeric constants |
| 91 | const transcendentals = [ |
| 92 | 'Ln', |
| 93 | 'Log', |
| 94 | 'Log2', |
| 95 | 'Log10', |
| 96 | 'Sin', |
no outgoing calls
no test coverage detected