on MIPS; turns out that it can't (or at least can't in qemu) reliably turn INT_MIN from a double to an int.