Fix floor/ceil for real==double targets.