removed isnormal and itset so it will compile under gcc