simplify using ifloor intrinsic
Merge pull request #7 from davidssmith/ifloor

simplify using ifloor intrinsic