math: fix exp.s on i386 and x86_64 so the exception flags are correct