This is an un-commented script rather than a function. This does "cute" numerical operations to do the swap, but the method suffers from cancellation error and completely breaks down if the values are too widely separated (e.g., 1e20 and 1). In short, this is useless code and should be removed from the FEX.