Fix floor/ceil for real==double targets.
Merge pull request #1497 from ibuclaw/floor64fix

Fix floor/ceil for real==double targets.