Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 518 Bytes

File metadata and controls

33 lines (18 loc) · 518 Bytes

IntegerExponent

IntegerExponent(n, b)

gives the highest exponent of b that divides n.

Examples

>> IntegerExponent(16, 2)
4

>> IntegerExponent(-510000)
4

>> IntegerExponent(10, b)
IntegerExponent(10, b)

Implementation status

  • ✅ - full supported

Github