[The SML Basis Library](https://smlfamily.github.io/Basis/top-level-chapter.html) specifies the type of top-level `~` as ```sml val ~ : num -> num (* default: int -> int *) ``` i.e. `word` is accepted. Appendix E should be updated accordingly.