fix examples and modf

modf is for double.
modff is for float.