Tags: floating-point double
Rating: 4.5
Each stage asks for the answer to an equation using `C` doubles. We have to provide inputs as `int` that get casted to the correct answers.
The answers:
```python
from struct import *
from math import inf, nan
def from_dbl(dbl): return int.from_bytes(pack(">d", dbl), "big")
print(*map(from_dbl, [
0,
nan,
inf,
1e99,
nan
]), sep="\n")
```