- Thread starter
- #1

#### DreamWeaver

##### Well-known member

- Sep 16, 2013

- 337

I wasn't really sure where to post this, but Analysis seemed a fair bet.

While searching on-line recently, I came across the following expressions for the Fractional Part \(\displaystyle \{x\}\) and Floor Function \(\displaystyle \lfloor x \rfloor\) respectively:

\(\displaystyle \{x\}=\frac{i\log\left(-e^{-2\pi i x}\right)}{2\pi}+\frac{1}{2}\)

\(\displaystyle \lfloor x \rfloor=x-\frac{i\log\left(-e^{-2\pi i x}\right)}{2\pi}-\frac{1}{2}\)

I can't remember where I found them, but just made a note of them... I seem to recall that a condition of both of the above was that the principal branch of the complex logarithm must be taken.

And so, finally, the question: can any of you shed intuitive light on the above? I've been trying to divine some sense out of those expressions, but sadly for me, I'm not Euler...

All the best, and thanks in advance!

Gethin