The function Floor[x] is piecewise constant, hence its derivatives should be piecewise zero.
This is far from true in Mathematica
In[497]:= $Version
Out[497]= "10.1.0 for Microsoft Windows (64-bit) (March 24, 2015)"
The first and second derivatives in the interval $\frac{1}{2}\lt x \lt \frac{3}{2}$ are shown in these graphs
Plot[D[Floor[x], {x, 1}] /. x -> xx, {xx, 1/2, 3/2}, PlotRange -> All,
PlotLabel -> "y=Floor'[x]", AxesLabel -> {"x", "y"}]
Plot[D[Floor[x], {x, 2}] /. x -> xx, {xx, 1/2, 3/2}, PlotRange -> All,
PlotLabel -> "y=Floor''[x]", AxesLabel -> {"x", "y"}]
We notice that the drivatives are far from zero even over a broad range of $x$.
In the standard documentation I have found no hint of this problem.
My question: is this a bug?