Fix #1439: `assertInternalType` does not support `double`.