## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**

## Minimized query

```sql
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',-(-('.'))), ('b',-acos(200.5)), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
INSERT INTO T VALUES (NULL, NULL);
SELECT * FROM T AS a FULL OUTER JOIN T AS b ON a.rowid = b.rowid;
UPDATE T SET a = CURRENT_TIMESTAMP RETURNING *;
CREATE  VIEW IF NOT EXISTS v_T_2199 AS SELECT b FROM T;
INSERT OR ABORT INTO T VALUES ('', 'x');
```

## Actual output

```sql
c|Inf|0.0|1
a|0.0||1
b|||2
a|0.0|a|0.0
b||b|
c|Inf|c|Inf
|||
2026-05-15 11:38:34|0
2026-05-15 11:38:34|
2026-05-15 11:38:34|Inf
2026-05-15 11:38:34|
```

## Expectation

```sql
c|Inf|0.0|1
a|0.0||1
b|||2
a|0.0|a|0.0
b||b|
c|Inf|c|Inf
|||
2026-05-15 11:38:34|0.0
2026-05-15 11:38:34|
2026-05-15 11:38:34|Inf
2026-05-15 11:38:34|
```

## Flag

```

```

