If we solve this equation $$\lfloor x \rfloor.\{x\}=1$$ $$x=\lfloor x \rfloor+\{x\}=n+p\\ 0\leq p<1 , n\in \mathbb{Z} \to $$we can rewrite $$\lfloor x \rfloor.\{x\}=1\\n(x-n)=1 \\\to x=n+\frac{1}{n}$$ It is obvious for $$n=2,3,4,... \text{works} \\\text{for example }n=2 \to x=2.5 \to \lfloor 2.5 \rfloor.\{2.5\}=2.\frac12=1 \checkmark $$ also it is obvious $n\neq 1,\neq -1$ but if if we plug for example $n=-2 $ does not work $$n=-2 \to x=-2+\frac{1}{-2}=-2.5 \\\to \lfloor -2.5 \rfloor.\{-2.5\}=-3.\frac{+1}{2}\neq 1$$ now my question is :Why answer does not work for negatives ?
Thanks in advance .
Answer does not work for negatives because for $x<0$
$\{x\}=x-\lfloor x\rfloor -1$
the equation translates in
$\lfloor x \rfloor.\{x\}=1\\(n-1)(x-n+1-1)=1 \\\to x=n+\dfrac{1}{n-1}$
Hope this helps