fix isNaN for asm