An interesting discovery, thanks to a problem presented by K. Srinivasa Raghava:

A standard result for real, where is the floor function:

.

Now it so happens that:

which is of course intuitive owing to Riemann surfaces produced by the complex logarithm. I could not find the result but I am nearly certain it must be somewhere.

Now to get an idea, let us examine the compensating function

And of course, the complex logarithm (here is the standard function, just to illustrate):

An intriguing connection with the complex logarithm.
In my world of (so called) phase shifting interferometry we utilise the imaginary part of the complex logarithm (viz phase) all the time. Your equation with the difference of two complex logs cancels out the real part, just leaving the very same imaginary part. I often use the following equations to generate sawtooth functions such as required for an analytic floor function:

atan[tan(x)]

or if I wish to extend the range from one quadrant I utilise the four quadrant arctan:

atan2[sin(x),cos(x)]

More gory details can be found in many of my publications, for example:
Propagation of errors in different phase-shifting algorithms: a special property of the arctangent function, 1992

PS
Digressing tangentially I note that the floor function has a very important part in the analysis of the prime counting function and leads inexorably to the Riemann zeta function.

The BLOG initiative is very good!! I will study as much as I can around here too! I wish you every success in this new amazing space of discussions!

LikeLiked by 1 person

[…] Floor functions using complex logarithms […]

LikeLike

An intriguing connection with the complex logarithm.

In my world of (so called) phase shifting interferometry we utilise the imaginary part of the complex logarithm (viz phase) all the time. Your equation with the difference of two complex logs cancels out the real part, just leaving the very same imaginary part. I often use the following equations to generate sawtooth functions such as required for an analytic floor function:

atan[tan(x)]

or if I wish to extend the range from one quadrant I utilise the four quadrant arctan:

atan2[sin(x),cos(x)]

More gory details can be found in many of my publications, for example:

Propagation of errors in different phase-shifting algorithms: a special property of the arctangent function, 1992

PS

Digressing tangentially I note that the floor function has a very important part in the analysis of the prime counting function and leads inexorably to the Riemann zeta function.

LikeLiked by 1 person