Skip to content

Commit 7176f1a

Browse files
Update faq.md to include safeInteger aclarations (#33871)
Co-Authored-By: Stefan Karpinski <stefan@karpinski.org>
1 parent 0df3fe7 commit 7176f1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/src/manual/faq.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,9 @@ have, it ends up having a substantial cost due to compilers (LLVM and GCC) not g
627627
around the added overflow checks. If this improves in the future, we could consider defaulting
628628
to checked integer arithmetic in Julia, but for now, we have to live with the possibility of overflow.
629629

630+
In the meantime, overflow-safe integer operations can be achieved through the use of external libraries such as [SaferIntegers.jl](https://github.com/JeffreySarnoff/SaferIntegers.jl). Note that, as stated previously, the use of these libraries signically increases the execution time of code using the checked integer types. However, for limited usage, this is far less of an issue than if it were used for all integer operations. You can follow the status of the discussion [here](https://github.com/JuliaLang/julia/issues/855).
631+
632+
630633
### What are the possible causes of an `UndefVarError` during remote execution?
631634

632635
As the error states, an immediate cause of an `UndefVarError` on a remote node is that a binding

0 commit comments

Comments
 (0)