User blog comment:Kyodaisuu/Mashimo scale/@comment-25337554-20150307231326/@comment-24061664-20150309110129

That's also fine. Calculating floor(M^(-1)(x)) is easier than calculating M^(-1)(x). That's why I used floor function. It is just like class.