Visual Studio < 2013: define fpclassify(3)

- define fpclassify(3) (only for double)
- use function-like macros
- convert tabs to spaces (unrelated change)