imenu--relative-position

imenu--relative-position is a compiled Lisp function in `imenu.el'.

(imenu--relative-position &optional REVERSE)

Support function to calculate relative position in buffer.
Beginning of buffer is 0 and end of buffer is 100
If REVERSE is non-nil then the beginning is 100 and the end is 0.