P-Adic numbers, basic: Difference between revisions

m
Line 1,096:
=={{header|Julia}}==
Uses the Nemo abstract algebra library. The Nemo library's rational reconstruction function gives up quite easily,
so another alternative to FreeBasic's crat() using determinantsvector products is below.
<lang Julia>using Nemo, LinearAlgebra
import Base.Rational, Base.digits
Line 1,306:
6 6 4 2 1 2 1 6 2 1 3 -25145//36122
</pre>
 
 
=={{header|Phix}}==
4,105

edits