next | previous | forward | backward | up | top | index | toc | Macaulay2 website
TestIdeals :: floorLog

floorLog -- floor of a logarithm

Synopsis

Description

floorLog(b, x) computes floor(log_b x), correcting occasional errors due to rounding.

i1 : floor(log_3 3^5)

o1 = 4
i2 : floorLog(3, 3^5)

o2 = 5

Ways to use floorLog :

For the programmer

The object floorLog is a method function.