Macaulay2 » Documentation
Packages » A1BrouwerDegrees :: getPadicValuation
next | previous | forward | backward | up | index | toc

getPadicValuation -- p-adic valuation of a rational number

Description

i1 : a = 363/7;
i2 : getPadicValuation(a, 11)

o2 = 2

Ways to use getPadicValuation:

  • getPadicValuation(QQ,ZZ)
  • getPadicValuation(ZZ,ZZ)

For the programmer

The object getPadicValuation is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/A1BrouwerDegrees/Documentation/ArithmeticMethodsDoc.m2:17:0.