(Glide64) Use float instead of double, use modff instead of modf