add isinf, isnan and signbit for windows