Misc.Int\_literal\_converter(3) OCaml library Misc.Int\_literal\_converter(3)

# [NAME](#NAME)

Misc.Int\_literal\_converter - no description

# [Module](#Module)

Module Misc.Int\_literal\_converter

# [Documentation](#Documentation)

Module **Int\_literal\_converter**  
: **sig end**

*val int* : **string -&gt; int**

Convert a string to an integer. Unlike **int\_of\_string** , this function accepts the string representation of **max\_int + 1** and returns **min\_int** in this case.

*val int32* : **string -&gt; int32**

Likewise, at type **int32**

*val int64* : **string -&gt; int64**

Likewise, at type **int64**

*val nativeint* : **string -&gt; nativeint**

Likewise, at type **nativeint**

2026-09-04 OCamldoc

---

Document: Misc.Int_literal_converter(3o) from ocaml 5.5.1-r0 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
